Skip to content

Commit 183102c

Browse files
committed
remove fee buffer to make decision more consistent with other logic in gui
1 parent 0eb578a commit 183102c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electrum/lnworker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2674,7 +2674,7 @@ def _receive_requires_jit_channel(self, amount_msat: Optional[int]) -> bool:
26742674
Cannot work reliably with 0 amount invoices as we don't know if we are able to receive it.
26752675
"""
26762676
if (self.config.ZEROCONF_TRUSTED_NODE
2677-
and (amount_msat and self.num_sats_can_receive() < (amount_msat // 1000) * 1.05)
2677+
and (amount_msat and self.num_sats_can_receive() < (amount_msat // 1000))
26782678
or (not amount_msat and self.num_sats_can_receive() < 1)):
26792679
return True
26802680
return False

0 commit comments

Comments
 (0)