]> git.bitcoin.ninja Git - rust-lightning/commit
Drop warning about mixing `no-std` and `std` `ProbabilisticScorer`s
authorMatt Corallo <git@bluematt.me>
Thu, 12 Oct 2023 18:23:51 +0000 (18:23 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 13 Dec 2023 23:26:09 +0000 (23:26 +0000)
commit81389dee306d960a8030bec5ffa304004148ce85
tree8b45a690964fa4cc9494c27c9014a1cbff501fb9
parent40b4094e878413aa16e656462554c3ffc30918a2
Drop warning about mixing `no-std` and `std` `ProbabilisticScorer`s

Now that the serialization format of `no-std` and `std`
`ProbabilisticScorer`s both just use `Duration` since UNIX epoch
and don't care about time except when decaying, we don't need to
warn users to not mix the scorers across `no-std` and `std` flags.

Fixes #2539
lightning/src/routing/scoring.rs