Browse Source

...

pull/67/head
Jae Kwon 10 years ago
parent
commit
5971617ac3
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      consensus/reactor.go

+ 2
- 2
consensus/reactor.go 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)
}

Loading…
Cancel
Save