Skip to content

Commit 6d5b439

Browse files
committed
Drop warning about mixing no-std and std ProbabilisticScorers
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
1 parent d5021d6 commit 6d5b439

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lightning/src/routing/scoring.rs

-5
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,6 @@ impl ReadableArgs<u64> for FixedPenaltyScorer {
464464
/// formula, but using the history of a channel rather than our latest estimates for the liquidity
465465
/// bounds.
466466
///
467-
/// # Note
468-
///
469-
/// Mixing the `no-std` feature between serialization and deserialization results in undefined
470-
/// behavior.
471-
///
472467
/// [1]: https://arxiv.org/abs/2107.05322
473468
/// [`liquidity_penalty_multiplier_msat`]: ProbabilisticScoringFeeParameters::liquidity_penalty_multiplier_msat
474469
/// [`liquidity_penalty_amount_multiplier_msat`]: ProbabilisticScoringFeeParameters::liquidity_penalty_amount_multiplier_msat

0 commit comments

Comments
 (0)