projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30c0702
)
Remove redundant negations from feature check
author
Jeffrey Czyz
<jkczyz@gmail.com>
Tue, 9 Jan 2024 20:59:30 +0000
(14:59 -0600)
committer
Jeffrey Czyz
<jkczyz@gmail.com>
Tue, 16 Jan 2024 17:12:35 +0000
(11:12 -0600)
lightning/src/ln/outbound_payment.rs
patch
|
blob
|
history
diff --git
a/lightning/src/ln/outbound_payment.rs
b/lightning/src/ln/outbound_payment.rs
index 66c9ee62e5e8a9044a536da7dedc784a4a0154ae..b82cc436a114e224c266709c7fb6adfc06013eec 100644
(file)
--- a/
lightning/src/ln/outbound_payment.rs
+++ b/
lightning/src/ln/outbound_payment.rs
@@
-345,10
+345,10
@@
pub(crate) struct PaymentAttemptsUsingTime<T: Time> {
}
-#[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;