diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-04-09 16:55:21 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:33:22 +0800 |
commit | cb9705fc63c871fcf31b3018a328e4535ba63a28 (patch) | |
tree | 822d8d22efb8a292a1b00e1ccc91ce0dcf650022 /dex | |
parent | 37c0142d0d3eaef16739386bade7d42f3a58fe9b (diff) | |
download | dexon-cb9705fc63c871fcf31b3018a328e4535ba63a28.tar.gz dexon-cb9705fc63c871fcf31b3018a328e4535ba63a28.tar.zst dexon-cb9705fc63c871fcf31b3018a328e4535ba63a28.zip |
dex: reduce agreement result (#348)
Diffstat (limited to 'dex')
-rw-r--r-- | dex/handler.go | 1 |
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) } } |