From fd61cdbbc50788ba8adb6d26ddd19e18c8008763 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Mon, 16 Jan 2023 00:49:55 +0100 Subject: [PATCH] fixed update_blocklist function --- src/config.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.rs b/src/config.rs index 9b4394b..f046fcd 100644 --- a/src/config.rs +++ b/src/config.rs @@ -187,6 +187,7 @@ impl Context { blocktime, }); block.tryfail += 1; + block.blocktime = blocktime; if block.tryfail >= set.tryfail { return Some(ipevent.clone()); }