diff options
Diffstat (limited to 'core/types/vote.go')
-rw-r--r-- | core/types/vote.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/types/vote.go b/core/types/vote.go index 12c3af8..7601542 100644 --- a/core/types/vote.go +++ b/core/types/vote.go @@ -52,7 +52,8 @@ type Vote struct { } func (v *Vote) String() string { - return fmt.Sprintf("Vote[%s:%s](%d:%d):%s", v.ProposerID.String()[:6], + return fmt.Sprintf("Vote{BP:%s %s Period:%d Type:%d Hash:%s}", + v.ProposerID.String()[:6], &v.Position, v.Period, v.Type, v.BlockHash.String()[:6]) } |