From 194c8fdc922b4173cf433e8f92711459b97c3ab0 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Tue, 20 Nov 2018 13:51:27 +0800 Subject: vendor: sync to latest core (#37) --- vendor/github.com/dexon-foundation/dexon-consensus/core/types/vote.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/types/vote.go') diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/types/vote.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/types/vote.go index 12c3af892..7601542ae 100644 --- a/vendor/github.com/dexon-foundation/dexon-consensus/core/types/vote.go +++ b/vendor/github.com/dexon-foundation/dexon-consensus/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]) } -- cgit v1.2.3