If let
This commit is contained in:
parent
009c124fac
commit
ead6dc553a
|
@ -630,10 +630,7 @@ impl ReplayStage {
|
||||||
// errors related to the slot being purged
|
// errors related to the slot being purged
|
||||||
let slot = bank.slot();
|
let slot = bank.slot();
|
||||||
warn!("Fatal replay error in slot: {}, err: {:?}", slot, err);
|
warn!("Fatal replay error in slot: {}, err: {:?}", slot, err);
|
||||||
if matches!(
|
if let BlockstoreProcessorError::InvalidBlock(BlockError::InvalidTickCount) = err {
|
||||||
err,
|
|
||||||
BlockstoreProcessorError::InvalidBlock(BlockError::InvalidTickCount)
|
|
||||||
) {
|
|
||||||
datapoint_info!(
|
datapoint_info!(
|
||||||
"replay-stage-mark_dead_slot",
|
"replay-stage-mark_dead_slot",
|
||||||
("error", format!("error: {:?}", err), String),
|
("error", format!("error: {:?}", err), String),
|
||||||
|
|
Loading…
Reference in New Issue