This commit is contained in:
Jae Kwon
2015-05-06 00:47:20 -07:00
parent c3a12e3cb8
commit 5971617ac3

View File

@@ -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)
}