aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-22 21:31:45 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-22 21:31:45 +0800
commit4056d794eb09c9eee2ab8353a0c93ac34c601b28 (patch)
treeed203ded4a2e193fd6fa5d70d41967fc32a6e880 /vendor/github.com
parentc69110d06efa62dc9cab4d717ef1b580da897527 (diff)
downloaddexon-4056d794eb09c9eee2ab8353a0c93ac34c601b28.tar.gz
dexon-4056d794eb09c9eee2ab8353a0c93ac34c601b28.tar.zst
dexon-4056d794eb09c9eee2ab8353a0c93ac34c601b28.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.go3
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) {