Skip to content

Commit

Permalink
don't dop peers
Browse files Browse the repository at this point in the history
  • Loading branch information
dryajov committed Jul 30, 2020
1 parent acd670d commit 24dc8ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion beacon_chain/sync_protocol.nim
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,8 @@ proc handleStatus(peer: Peer,

if not res:
debug "Peer is dead or already in pool", peer
await peer.disconnect(ClientShutDown)
# TODO: DON NOT DROP THE PEER!
# await peer.disconnect(ClientShutDown)

peer.setStatusMsg(theirStatus)

Expand Down
2 changes: 1 addition & 1 deletion vendor/nim-libp2p

0 comments on commit 24dc8ca

Please sign in to comment.