diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-03-29 13:00:55 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:59 +0800 |
commit | 3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e (patch) | |
tree | 8e76daebfd01d531121dcecd99e33f5ecc86748d /dex/peer.go | |
parent | 819d0520f8e6ed49c8cdc5dae1e1001aa3c0b4ac (diff) | |
download | dexon-3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e.tar dexon-3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e.tar.gz dexon-3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e.tar.bz2 dexon-3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e.tar.lz dexon-3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e.tar.xz dexon-3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e.tar.zst dexon-3489e7ec917cd00d1995cd7a0f669bfc8aff0a8e.zip |
dex: fix initial build connection bug (#311)
Diffstat (limited to 'dex/peer.go')
-rw-r--r-- | dex/peer.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dex/peer.go b/dex/peer.go index 0d23e630f..d3650d00d 100644 --- a/dex/peer.go +++ b/dex/peer.go @@ -929,6 +929,8 @@ func (ps *peerSet) ForgetConnection(round uint64) { ps.lock.Lock() defer ps.lock.Unlock() + log.Debug("Forget connection", "round", round) + for label := range ps.directConn { if label.round <= round { ps.forgetDirectConn(label) |