From: Matt Corallo Date: Wed, 29 Nov 2023 03:07:54 +0000 (+0000) Subject: Update history bucket last_update time immediately on update X-Git-Tag: v0.0.119~4^2~9 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=5ac68c1af3368e8b54e3742527d5753303e65ef7;p=rust-lightning Update history bucket last_update time immediately on update Now that we aren't decaying during scoring, when we set the last_updated time in the history bucket logic doesn't matter, so we should just update it when we've just updated the history buckets. --- diff --git a/lightning/src/routing/scoring.rs b/lightning/src/routing/scoring.rs index d0766b6a7..72720245f 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -1318,6 +1318,7 @@ impl, BRT: DerefMut, BRT: DerefMut, BRT: DerefMut