Include the affected slot in blocktree error metrics (#6734) (#6743)

automerge
This commit is contained in:
mergify[bot]
2019-11-05 13:19:57 -08:00
committed by Grimes
parent a6646f3124
commit 854b6fc1ce

View File

@ -748,8 +748,8 @@ impl Blocktree {
( (
"error", "error",
format!( format!(
"Received index {} >= slot.last_index {}", "Slot {}: received index {} >= slot.last_index {}",
shred_index, last_index slot, shred_index, last_index
), ),
String String
) )
@ -764,8 +764,8 @@ impl Blocktree {
( (
"error", "error",
format!( format!(
"Received shred_index {} < slot.received {}", "Slot {}: received shred_index {} < slot.received {}",
shred_index, slot_meta.received slot, shred_index, slot_meta.received
), ),
String String
) )