mirror of
https://github.com/status-im/nim-eth.git
synced 2025-01-13 15:54:54 +00:00
Remove double transport close
This commit is contained in:
parent
3cd8172e65
commit
b62d091963
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user