We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f64ace5 commit aa1c279Copy full SHA for aa1c279
lightning/src/ln/outbound_payment.rs
@@ -345,10 +345,10 @@ pub(crate) struct PaymentAttemptsUsingTime<T: Time> {
345
346
}
347
348
-#[cfg(not(any(not(feature = "std"), test)))]
349
-type ConfiguredTime = crate::util::time::MonotonicTime;
350
#[cfg(not(feature = "std"))]
351
type ConfiguredTime = crate::util::time::Eternity;
+#[cfg(all(feature = "std", not(test)))]
+type ConfiguredTime = crate::util::time::MonotonicTime;
352
#[cfg(all(feature = "std", test))]
353
type ConfiguredTime = SinceEpoch;
354
0 commit comments