lightningd: don't let spendable_msat go wumbo.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2019-05-31 17:00:33 +09:30
parent bb6c34fb13
commit 044860881e
2 changed files with 4 additions and 1 deletions

View File

@@ -2124,7 +2124,6 @@ def test_channel_spendable_large(node_factory, bitcoind):
l1.rpc.waitsendpay(payment_hash, TIMEOUT)
@pytest.mark.xfail(strict=True)
def test_channel_spendable_capped(node_factory, bitcoind):
"""Test that spendable_msat is capped at 2^32-1"""
sats = 16777215