aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-04-09 16:55:21 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:33:22 +0800
commitcb9705fc63c871fcf31b3018a328e4535ba63a28 (patch)
tree822d8d22efb8a292a1b00e1ccc91ce0dcf650022
parent37c0142d0d3eaef16739386bade7d42f3a58fe9b (diff)
downloadgo-tangerine-cb9705fc63c871fcf31b3018a328e4535ba63a28.tar.gz
go-tangerine-cb9705fc63c871fcf31b3018a328e4535ba63a28.tar.zst
go-tangerine-cb9705fc63c871fcf31b3018a328e4535ba63a28.zip
dex: reduce agreement result (#348)
-rw-r--r--dex/handler.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/dex/handler.go b/dex/handler.go
index deb959c45..398a8443a 100644
--- a/dex/handler.go
+++ b/dex/handler.go
@@ -1116,6 +1116,7 @@ func (pm *ProtocolManager) BroadcastAgreementResult(
}
for _, peer := range pm.peers.PeersWithoutAgreement(agreement.Position) {
+ peer.MarkAgreement(agreement.Position)
peer.AsyncSendAgreement(agreement)
}
}