add node_pubkey to vote warning (#5033)
This commit is contained in:
parent
b2c776eabc
commit
a191f3fd90
|
@ -173,14 +173,14 @@ impl VoteState {
|
||||||
for (slot, hash) in slot_hashes {
|
for (slot, hash) in slot_hashes {
|
||||||
if vote.slot == *slot {
|
if vote.slot == *slot {
|
||||||
warn!(
|
warn!(
|
||||||
"dropped vote {:?} matched slot {}, but not hash {:?}",
|
"{} dropped vote {:?} matched slot {}, but not hash {:?}",
|
||||||
vote, *slot, *hash
|
self.node_pubkey, vote, *slot, *hash
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if vote.hash == *hash {
|
if vote.hash == *hash {
|
||||||
warn!(
|
warn!(
|
||||||
"dropped vote {:?} matched hash {:?}, but not slot {}",
|
"{} dropped vote {:?} matched hash {:?}, but not slot {}",
|
||||||
vote, *hash, *slot,
|
self.node_pubkey, vote, *slot, *hash
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue