Update vote log

This commit is contained in:
Jae Kwon
2015-05-05 16:58:26 -07:00
parent 01b21fcbf2
commit 8b6d489755
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -71,5 +71,5 @@ func (vote *Vote) String() string {
panic("Unknown vote type")
}
return fmt.Sprintf("%v{%v/%v %X#%v %v}", typeString, vote.Height, vote.Round, Fingerprint(vote.BlockHash), vote.BlockParts, vote.Signature)
return fmt.Sprintf("Vote{%v/%02d/%v(%v) %X#%v %v}", vote.Height, vote.Round, vote.Type, typeString, Fingerprint(vote.BlockHash), vote.BlockParts, vote.Signature)
}