From cb9705fc63c871fcf31b3018a328e4535ba63a28 Mon Sep 17 00:00:00 2001 From: Jimmy Hu Date: Tue, 9 Apr 2019 16:55:21 +0800 Subject: dex: reduce agreement result (#348) --- dex/handler.go | 1 + 1 file changed, 1 insertion(+) 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) } } -- cgit