mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-09 19:51:47 +00:00
Fix more merge conflicts between unstable and release-v7.0.0
This commit is contained in:
committed by
Michael Sproul
parent
cbf1c04a14
commit
2f37bf4de5
@@ -831,10 +831,7 @@ impl<T: BeaconChainTypes> NetworkBeaconProcessor<T> {
|
||||
}
|
||||
// Penalise peers for sending us banned blocks.
|
||||
BlockError::KnownInvalidExecutionPayload(block_root) => {
|
||||
warn!(
|
||||
?block_root,
|
||||
"Received block known to be invalid",
|
||||
);
|
||||
warn!(?block_root, "Received block known to be invalid",);
|
||||
Err(ChainSegmentFailed {
|
||||
message: format!("Banned block: {block_root:?}"),
|
||||
peer_action: Some(PeerAction::Fatal),
|
||||
|
||||
Reference in New Issue
Block a user