aboutsummaryrefslogtreecommitdiffstats
path: root/dex/handler.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-03-29 14:28:17 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-15 22:09:55 +0800
commit7f51740c91641f64a4b8e302225299ad87742c42 (patch)
tree8d35ce549e165ad33dabb07911685b7f3c8bf73a /dex/handler.go
parent038552acaa883a6353c54274f80cb888fb23be68 (diff)
downloadgo-tangerine-7f51740c91641f64a4b8e302225299ad87742c42.tar.gz
go-tangerine-7f51740c91641f64a4b8e302225299ad87742c42.tar.zst
go-tangerine-7f51740c91641f64a4b8e302225299ad87742c42.zip
core: fix forget connection in resetDKG (#314)
Diffstat (limited to 'dex/handler.go')
-rw-r--r--dex/handler.go2
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 {