aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-01-23 13:04:02 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:21 +0800
commit36e65e7017fc87c44b52b736e09585fc2bfc1e3b (patch)
tree01c0bd136d560f8657b16aa2a4bc9270205306e7 /vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
parentd1d2cc0736440d7d6154df11f8cb9281c3e3f7f7 (diff)
downloadgo-tangerine-36e65e7017fc87c44b52b736e09585fc2bfc1e3b.tar
go-tangerine-36e65e7017fc87c44b52b736e09585fc2bfc1e3b.tar.gz
go-tangerine-36e65e7017fc87c44b52b736e09585fc2bfc1e3b.tar.bz2
go-tangerine-36e65e7017fc87c44b52b736e09585fc2bfc1e3b.tar.lz
go-tangerine-36e65e7017fc87c44b52b736e09585fc2bfc1e3b.tar.xz
go-tangerine-36e65e7017fc87c44b52b736e09585fc2bfc1e3b.tar.zst
go-tangerine-36e65e7017fc87c44b52b736e09585fc2bfc1e3b.zip
params: Update testnet config (#167)
* vendor: sync to latest core * param: update testnet config * params: update dmoment
Diffstat (limited to 'vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go')
-rw-r--r--vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go b/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
index d3cf533c6..9e863696a 100644
--- a/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
+++ b/vendor/github.com/dexon-foundation/dexon-consensus/core/agreement-mgr.go
@@ -258,7 +258,7 @@ func (mgr *agreementMgr) processAgreementResult(
if isStop(aID) {
return nil
}
- if result.Position == aID {
+ if result.Position == aID && !agreement.confirmed() {
mgr.logger.Info("Syncing BA", "position", &result.Position)
for key := range result.Votes {
if err := agreement.processVote(&result.Votes[key]); err != nil {