We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ad6607 commit 6332a3aCopy full SHA for 6332a3a
electrum/lnrouter.py
@@ -281,7 +281,7 @@ def remove_htlc(self, is_forward_direction: bool):
281
if is_forward_direction:
282
self._inflight_htlcs_forward = max(0, self._inflight_htlcs_forward - 1)
283
else:
284
- self._inflight_htlcs_backward = max(0, self._inflight_htlcs_forward - 1)
+ self._inflight_htlcs_backward = max(0, self._inflight_htlcs_backward - 1)
285
286
def __repr__(self):
287
return f"forward: can send: {self._can_send_forward} msat, cannot send: {self._cannot_send_forward} msat, htlcs: {self._inflight_htlcs_forward}\n" \
0 commit comments