Merge pull request #1485 from wpaulino/syncmanager-done-peer-verack
server: remove peer from SyncManager on VerAckReceived
This commit is contained in:
commit
037489ef50
1 changed files with 1 additions and 1 deletions
|
@ -2063,7 +2063,7 @@ func (s *server) peerDoneHandler(sp *serverPeer) {
|
|||
s.donePeers <- sp
|
||||
|
||||
// Only tell sync manager we are gone if we ever told it we existed.
|
||||
if sp.VersionKnown() {
|
||||
if sp.VerAckReceived() {
|
||||
s.syncManager.DonePeer(sp.Peer)
|
||||
|
||||
// Evict any remaining orphans that were sent by the peer.
|
||||
|
|
Loading…
Reference in a new issue