mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +01:00
lightningd: take into account outstanding HTLCs for 'spendable_msat'
The current calculation ignores them, which is unrealistic. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -2047,7 +2047,6 @@ def test_setchannelfee_all(node_factory, bitcoind):
|
||||
assert result['channels'][1]['short_channel_id'] == scid3
|
||||
|
||||
|
||||
@pytest.mark.xfail(strict=True)
|
||||
def test_channel_spendable(node_factory, bitcoind):
|
||||
"""Test that spendable_msat is accurate"""
|
||||
sats = 10**6
|
||||
|
||||
Reference in New Issue
Block a user