|
|
@ -2049,6 +2049,7 @@ def test_setchannelfee_all(node_factory, bitcoind): |
|
|
|
assert result['channels'][1]['short_channel_id'] == scid3 |
|
|
|
|
|
|
|
|
|
|
|
@unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow") |
|
|
|
def test_channel_spendable(node_factory, bitcoind): |
|
|
|
"""Test that spendable_msat is accurate""" |
|
|
|
sats = 10**6 |
|
|
@ -2101,6 +2102,7 @@ def test_channel_spendable(node_factory, bitcoind): |
|
|
|
l2.rpc.waitsendpay(payment_hash, TIMEOUT) |
|
|
|
|
|
|
|
|
|
|
|
@unittest.skipIf(not DEVELOPER, "gossip without DEVELOPER=1 is slow") |
|
|
|
def test_channel_spendable_large(node_factory, bitcoind): |
|
|
|
"""Test that spendable_msat is accurate for large channels""" |
|
|
|
# This is almost the max allowable spend. |
|
|
|