fixed update_blocklist function
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Paul 2023-01-16 00:49:55 +01:00
parent e71d8f7cd4
commit fd61cdbbc5

View File

@ -187,6 +187,7 @@ impl Context {
blocktime, blocktime,
}); });
block.tryfail += 1; block.tryfail += 1;
block.blocktime = blocktime;
if block.tryfail >= set.tryfail { if block.tryfail >= set.tryfail {
return Some(ipevent.clone()); return Some(ipevent.clone());
} }