fixed update_blocklist function
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e71d8f7cd4
commit
fd61cdbbc5
@ -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());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user