mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-17 12:58:31 +00:00
wrap availability check error
This commit is contained in:
@@ -535,7 +535,8 @@ impl<T: BeaconChainTypes> BlockLookups<T> {
|
||||
| ParentVerifyError::UnrequestedBlobId
|
||||
| ParentVerifyError::ExtraBlobsReturned
|
||||
| ParentVerifyError::InvalidIndex(_)
|
||||
| ParentVerifyError::AvailabilityCheck => {
|
||||
//TODO(sean) treat this differntly?
|
||||
| ParentVerifyError::AvailabilityCheck(_) => {
|
||||
let e = e.into();
|
||||
warn!(self.log, "Peer sent invalid response to parent request.";
|
||||
"peer_id" => %peer_id, "reason" => %e);
|
||||
@@ -629,7 +630,8 @@ impl<T: BeaconChainTypes> BlockLookups<T> {
|
||||
| ParentVerifyError::UnrequestedBlobId
|
||||
| ParentVerifyError::ExtraBlobsReturned
|
||||
| ParentVerifyError::InvalidIndex(_)
|
||||
| ParentVerifyError::AvailabilityCheck => {
|
||||
//TODO(sean) treat differently?
|
||||
| ParentVerifyError::AvailabilityCheck(_) => {
|
||||
let e = e.into();
|
||||
warn!(self.log, "Peer sent invalid response to parent request.";
|
||||
"peer_id" => %peer_id, "reason" => %e);
|
||||
|
||||
Reference in New Issue
Block a user