mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-10 12:11:59 +00:00
simplify checking attester cache for block and blobs. use ResourceUnavailable according to the spec
This commit is contained in:
@@ -513,6 +513,7 @@ impl<TSpec: EthSpec> PeerManager<TSpec> {
|
||||
Protocol::MetaData => PeerAction::LowToleranceError,
|
||||
Protocol::Status => PeerAction::LowToleranceError,
|
||||
},
|
||||
RPCResponseErrorCode::BlobsNotFoundForBlock => PeerAction::LowToleranceError,
|
||||
},
|
||||
RPCError::SSZDecodeError(_) => PeerAction::Fatal,
|
||||
RPCError::UnsupportedProtocol => {
|
||||
|
||||
Reference in New Issue
Block a user