From f759ac3a8d43576957d6829da23eda2399a7fed8 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 11 Jul 2019 13:58:49 -0700 Subject: [PATCH] add node_pubkey to vote warning (#5033) (#5034) (cherry picked from commit a191f3fd904e9e2a36796efb19b83637038dfa0e) --- programs/vote_api/src/vote_state.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/programs/vote_api/src/vote_state.rs b/programs/vote_api/src/vote_state.rs index 76333e6ebe..f5b1520c38 100644 --- a/programs/vote_api/src/vote_state.rs +++ b/programs/vote_api/src/vote_state.rs @@ -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 ); } }