diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-29 14:28:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:59 +0800 |
commit | 6786ac62add22e773b5e192e13adfd5ef720869b (patch) | |
tree | 7b00437818e8133e59ce30e716e7f959249309a8 /dex/handler.go | |
parent | f0257e264b94b67137595e4a357589da7cfde82e (diff) | |
download | dexon-6786ac62add22e773b5e192e13adfd5ef720869b.tar.gz dexon-6786ac62add22e773b5e192e13adfd5ef720869b.tar.zst dexon-6786ac62add22e773b5e192e13adfd5ef720869b.zip |
core: fix forget connection in resetDKG (#314)
Diffstat (limited to 'dex/handler.go')
-rw-r--r-- | dex/handler.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/handler.go b/dex/handler.go index 161f4a4d8..6395c4113 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -1351,7 +1351,7 @@ func (pm *ProtocolManager) peerSetLoop() { pm.peers.ForgetConnection(round - 1) } } else if newRound == round && resetCount+1 == reset { - pm.peers.ForgetConnection(newRound) + pm.peers.ForgetLabelConnection(peerLabel{set: notaryset, round: newRound}) pm.gov.PurgeNotarySet(newRound) pm.peers.BuildConnection(newRound) } else { |