diff --git a/beacon_node/eth2_libp2p/src/peer_manager/score.rs b/beacon_node/eth2_libp2p/src/peer_manager/score.rs index 7226db647b..de106d886e 100644 --- a/beacon_node/eth2_libp2p/src/peer_manager/score.rs +++ b/beacon_node/eth2_libp2p/src/peer_manager/score.rs @@ -199,6 +199,8 @@ impl Score { <= Some(BANNED_BEFORE_DECAY) { // The peer is banned and still within the ban timeout. Do not update it's score. + // Update last_updated so that the decay begins correctly when ready. + self.last_updated = now; return; }