diff options
Diffstat (limited to 'vendor/github.com')
-rw-r--r-- | vendor/github.com/dexon-foundation/dexon-consensus/core/agreement.go | 3 |
1 files changed, 2 insertions, 1 deletions
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) { |