fix(net): substract from correct var (#262)

This commit is contained in:
Matthias Seitz
2022-11-26 00:35:51 +01:00
committed by GitHub
parent b6d9fe87b9
commit 6232505b94

View File

@ -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) {