diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-22 21:31:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-15 22:09:56 +0800 |
commit | 6c8218eed2492025b18ed4e5adccd3416336a382 (patch) | |
tree | af81301f8076730885f5b06bf4d0053c66b0afea /vendor/github.com | |
parent | ac265bc2a70ca39d12c51b72bd2bca6ae5021da8 (diff) | |
download | go-tangerine-6c8218eed2492025b18ed4e5adccd3416336a382.tar go-tangerine-6c8218eed2492025b18ed4e5adccd3416336a382.tar.gz go-tangerine-6c8218eed2492025b18ed4e5adccd3416336a382.tar.bz2 go-tangerine-6c8218eed2492025b18ed4e5adccd3416336a382.tar.lz go-tangerine-6c8218eed2492025b18ed4e5adccd3416336a382.tar.xz go-tangerine-6c8218eed2492025b18ed4e5adccd3416336a382.tar.zst go-tangerine-6c8218eed2492025b18ed4e5adccd3416336a382.zip |
vendor: sync to latest core (#386)
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) { |