From 5971617ac33e85baadb4c07b0af152fc4c56b247 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Wed, 6 May 2015 00:47:20 -0700 Subject: [PATCH] ... --- consensus/reactor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/consensus/reactor.go b/consensus/reactor.go index 8cf7cabb4..4f6585b08 100644 --- a/consensus/reactor.go +++ b/consensus/reactor.go @@ -886,7 +886,7 @@ type VoteMessage struct { } func (m *VoteMessage) String() string { - return fmt.Sprintf("[Vote VI:%v V:%v]", m.ValidatorIndex, m.Vote) + return fmt.Sprintf("[Vote VI:%v V:%v VI:%v]", m.ValidatorIndex, m.Vote, m.ValidatorIndex) } //------------------------------------- @@ -899,5 +899,5 @@ type HasVoteMessage struct { } func (m *HasVoteMessage) String() string { - return fmt.Sprintf("[HasVote VI:%v V:Vote{%v/%02d/%v}]", m.Index, m.Height, m.Round, m.Type) + return fmt.Sprintf("[HasVote VI:%v V:{%v/%02d/%v} VI:%v]", m.Index, m.Height, m.Round, m.Type, m.Index) }