add node_pubkey to vote warning (#5033)

This commit is contained in:
Rob Walker 2019-07-11 13:12:26 -07:00 committed by GitHub
parent b2c776eabc
commit a191f3fd90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -173,14 +173,14 @@ impl VoteState {
for (slot, hash) in slot_hashes {
if vote.slot == *slot {
warn!(
"dropped vote {:?} matched slot {}, but not hash {:?}",
vote, *slot, *hash
"{} dropped vote {:?} matched slot {}, but not hash {:?}",
self.node_pubkey, vote, *slot, *hash
);
}
if vote.hash == *hash {
warn!(
"dropped vote {:?} matched hash {:?}, but not slot {}",
vote, *hash, *slot,
"{} dropped vote {:?} matched hash {:?}, but not slot {}",
self.node_pubkey, vote, *slot, *hash
);
}
}