diff --git a/tests/test_wallet.py b/tests/test_wallet.py index e9eedbc64..6e0b3be91 100644 --- a/tests/test_wallet.py +++ b/tests/test_wallet.py @@ -912,8 +912,10 @@ def test_transaction_annotations(node_factory, bitcoind): l1.connect(l2) fundingtx = l1.rpc.fundchannel(l2.info['id'], 10**5) - # We should have one output available, and it should be unconfirmed + # We should have one output unreserved, and it should be unconfirmed outputs = l1.rpc.listfunds()['outputs'] + assert len(outputs) == 2 + outputs = [o for o in outputs if not o['reserved']] assert(len(outputs) == 1 and outputs[0]['status'] == 'unconfirmed') # It should also match the funding txid: