mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
upgrade logs from warn to crit when we receive incorrect response in range
This commit is contained in:
@@ -1056,10 +1056,10 @@ impl<T: BeaconChainTypes> SyncManager<T> {
|
|||||||
&mut self.network,
|
&mut self.network,
|
||||||
),
|
),
|
||||||
RequestId::BackFillBlocks { id: _ } => {
|
RequestId::BackFillBlocks { id: _ } => {
|
||||||
warn!(self.log, "Blob received during backfill block request"; "peer_id" => %peer_id );
|
crit!(self.log, "Blob received during backfill block request"; "peer_id" => %peer_id );
|
||||||
}
|
}
|
||||||
RequestId::RangeBlocks { id: _ } => {
|
RequestId::RangeBlocks { id: _ } => {
|
||||||
warn!(self.log, "Blob received during range block request"; "peer_id" => %peer_id );
|
crit!(self.log, "Blob received during range block request"; "peer_id" => %peer_id );
|
||||||
}
|
}
|
||||||
RequestId::BackFillBlockAndBlobs { id } => {
|
RequestId::BackFillBlockAndBlobs { id } => {
|
||||||
self.backfill_block_and_blobs_response(id, peer_id, blob.into())
|
self.backfill_block_and_blobs_response(id, peer_id, blob.into())
|
||||||
|
|||||||
Reference in New Issue
Block a user