mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(net): add shutdown network signal (#1011)
Co-authored-by: lambdaclass-user <github@lambdaclass.com>
This commit is contained in:
committed by
GitHub
parent
db5410b84b
commit
dab1f4f497
@ -163,7 +163,6 @@ impl PeersManager {
|
||||
if !self.connection_info.has_in_capacity() {
|
||||
return Err(InboundConnectionError::ExceedsLimit(self.connection_info.max_inbound))
|
||||
}
|
||||
|
||||
// keep track of new connection
|
||||
self.connection_info.inc_in();
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user