diff options
Diffstat (limited to 'dex')
-rw-r--r-- | dex/handler.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/dex/handler.go b/dex/handler.go index 1c87d322c..b34e2eba0 100644 --- a/dex/handler.go +++ b/dex/handler.go @@ -1383,16 +1383,16 @@ func (pm *ProtocolManager) peerSetLoop() { if newRound == round+1 { pm.peers.BuildConnection(newRound) - if round >= 1 { - pm.peers.ForgetConnection(round - 1) - } + //if round >= 1 { + // pm.peers.ForgetConnection(round - 1) + //} } else if newRound == round && reset+1 == newReset { - pm.peers.ForgetLabelConnection(peerLabel{set: notaryset, round: round}) + //pm.peers.ForgetLabelConnection(peerLabel{set: notaryset, round: round}) pm.gov.PurgeNotarySet(newRound) pm.peers.BuildConnection(newRound) } else { // just forget all network connection and rebuild. - pm.peers.ForgetConnection(round) + //pm.peers.ForgetConnection(round) if newRound >= 1 { pm.peers.BuildConnection(newRound - 1) |