X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Frouting%2Fscoring.rs;h=eca5ee6058b7841398b07d8137cd9842c9ec8e2d;hb=47cb45ed32c09f39418abd200cfc1f7d402964e4;hp=ee9c3d0c47356ddc53d9f7efc21f368b1ef77743;hpb=14cd18b5e670e405fb106ded881b1357c913d124;p=rust-lightning diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index ee9c3d0c..eca5ee60 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -325,7 +325,7 @@ impl ReadableArgs for FixedPenaltyScorer { } #[cfg(not(feature = "no-std"))] -type ConfiguredTime = std::time::Instant; +type ConfiguredTime = crate::util::time::MonotonicTime; #[cfg(feature = "no-std")] use crate::util::time::Eternity; #[cfg(feature = "no-std")]