From: Matt Corallo Date: Tue, 28 Jun 2022 15:45:59 +0000 (+0000) Subject: Fix `ProbabilisticScorer` aliasing in `no-std` mode X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=48254ebb16d472885326779ceef3d74387752997;p=rust-lightning Fix `ProbabilisticScorer` aliasing in `no-std` mode 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 --- diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index 96f90ad4e..72edbde9e 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -318,7 +318,7 @@ pub type ProbabilisticScorer = ProbabilisticScorerUsingTime:: = ProbabilisticScorerUsingTime::; +pub type ProbabilisticScorer = ProbabilisticScorerUsingTime::; /// Probabilistic [`Score`] implementation. ///