From 5ac68c1af3368e8b54e3742527d5753303e65ef7 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 29 Nov 2023 03:07:54 +0000 Subject: [PATCH] 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. --- lightning/src/routing/scoring.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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