This commit is contained in:
Carl 2020-03-15 22:50:11 -07:00 committed by Michael Vines
parent 009c124fac
commit ead6dc553a
1 changed files with 1 additions and 4 deletions

View File

@ -630,10 +630,7 @@ impl ReplayStage {
// errors related to the slot being purged
let slot = bank.slot();
warn!("Fatal replay error in slot: {}, err: {:?}", slot, err);
if matches!(
err,
BlockstoreProcessorError::InvalidBlock(BlockError::InvalidTickCount)
) {
if let BlockstoreProcessorError::InvalidBlock(BlockError::InvalidTickCount) = err {
datapoint_info!(
"replay-stage-mark_dead_slot",
("error", format!("error: {:?}", err), String),