]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix `ProbabilisticScorer` aliasing in `no-std` mode
authorMatt Corallo <git@bluematt.me>
Tue, 28 Jun 2022 02:41:49 +0000 (02:41 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Jun 2022 02:41:49 +0000 (02:41 +0000)
This fixes a rebase error which causes an undefined reference
compile error.

Fixes edd26f00c67fe20278b04ff8cc29367e2186d0f1

lightning/src/routing/scoring.rs

index aead99cbf7f00ec4996510eedf5c82d6e2b5cc92..96f90ad4e466e8dbb2f2a46ee3c1d728aa20b78b 100644 (file)
@@ -318,7 +318,7 @@ pub type ProbabilisticScorer<G, L> = ProbabilisticScorerUsingTime::<G, L, std::t
 /// behavior.
 ///
 /// [1]: https://arxiv.org/abs/2107.05322
-pub type ProbabilisticScorer<G, L> = ProbabilisticScorerUsingTime::<G, L, Eternity>;
+pub type ProbabilisticScorer<G, L> = ProbabilisticScorerUsingTime::<G, L, util::time::Eternity>;
 
 /// Probabilistic [`Score`] implementation.
 ///