Remove double transport close

This commit is contained in:
kdeme 2019-04-11 15:39:50 +02:00
parent 3cd8172e65
commit b62d091963
1 changed files with 0 additions and 2 deletions

View File

@ -76,8 +76,6 @@ proc processIncoming(server: StreamServer,
# malicious peer opens multiple connections
debug "Disconnecting peer (incoming)", reason = AlreadyConnected
await peer.disconnect(AlreadyConnected)
else:
remote.close()
proc listeningAddress*(node: EthereumNode): ENode =
return initENode(node.keys.pubKey, node.address)