]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix `ProbabilisticScorer` aliasing in `no-std` mode 2022-05-107-bindings-scratch
authorMatt Corallo <git@bluematt.me>
Tue, 28 Jun 2022 15:45:59 +0000 (15:45 +0000)
committerMatt Corallo <git@bluematt.me>
Tue, 28 Jun 2022 15:47:19 +0000 (15:47 +0000)
This fixes a rebase error which causes an undefined reference
compile error and a issue in the previous attempt to fix this which
didn't work properly.

Fixes edd26f00c67fe20278b04ff8cc29367e2186d0f1
Fixes 51b2da859d03b566375f31fb70d94344a42a44e7

lightning/src/routing/scoring.rs

index 96f90ad4e466e8dbb2f2a46ee3c1d728aa20b78b..72edbde9e6f8ea6459aae7d93d5d0824bf0ed094 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, util::time::Eternity>;
+pub type ProbabilisticScorer<G, L> = ProbabilisticScorerUsingTime::<G, L, ::util::time::Eternity>;
 
 /// Probabilistic [`Score`] implementation.
 ///