From 56a74084a920db59cc5a7c4f5f098849f2e9ca29 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 81e85407..e37da417 100644 --- a/lightning/src/routing/scoring.rs +++ b/lightning/src/routing/scoring.rs @@ -1318,6 +1318,7 @@ impl, BRT: DerefMut, BRT: DerefMut, BRT: DerefMut