X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Fln%2Foutbound_payment.rs;h=b82cc436a114e224c266709c7fb6adfc06013eec;hb=aba77480ac8e1e63857b99e3dee50f7700abeae2;hp=66c9ee62e5e8a9044a536da7dedc784a4a0154ae;hpb=30c07021d965aab45dcf450b94522d4737eabf66;p=rust-lightning diff --git a/lightning/src/ln/outbound_payment.rs b/lightning/src/ln/outbound_payment.rs index 66c9ee62..b82cc436 100644 --- a/lightning/src/ln/outbound_payment.rs +++ b/lightning/src/ln/outbound_payment.rs @@ -345,10 +345,10 @@ pub(crate) struct PaymentAttemptsUsingTime { } -#[cfg(not(any(not(feature = "std"), test)))] -type ConfiguredTime = crate::util::time::MonotonicTime; #[cfg(not(feature = "std"))] type ConfiguredTime = crate::util::time::Eternity; +#[cfg(all(feature = "std", not(test)))] +type ConfiguredTime = crate::util::time::MonotonicTime; #[cfg(all(feature = "std", test))] type ConfiguredTime = SinceEpoch;