mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(net): substract from correct var (#262)
This commit is contained in:
@ -112,7 +112,7 @@ impl SessionCounter {
|
||||
}
|
||||
|
||||
pub(crate) fn inc_pending_outbound(&mut self) {
|
||||
self.pending_inbound += 1;
|
||||
self.pending_outbound += 1;
|
||||
}
|
||||
|
||||
pub(crate) fn dec_pending(&mut self, direction: &Direction) {
|
||||
|
||||
Reference in New Issue
Block a user