From 6c8218eed2492025b18ed4e5adccd3416336a382 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Mon, 22 Apr 2019 21:31:45 +0800 Subject: vendor: sync to latest core (#386) --- vendor/github.com/dexon-foundation/dexon-consensus/core/agreement.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vendor/github.com') diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement.go index 22153948d..d90afc610 100644 --- a/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement.go +++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement.go @@ -436,8 +436,9 @@ func (a *agreement) processVote(vote *types.Vote) error { vote: vote, receivedTime: time.Now().UTC(), }) + return nil } - return nil + return ErrSkipButNoError } if vote.Position != aID { if aID.Newer(vote.Position) { -- cgit v1.2.3