Skip to content

Commit 2c88844

Browse files
committed
tests: Add explicit preapprove{invoice,keysend} calls before sendpay
1 parent 66016cc commit 2c88844

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_closing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3773,6 +3773,7 @@ def test_closing_anchorspend_htlc_tx_rbf(node_factory, bitcoind):
37733773
'delay': 12,
37743774
'channel': first_scid(l1, l2)
37753775
}
3776+
l1.rpc.preapprovekeysend(routestep['id'], rhash, routestep['amount_msat'])
37763777
l1.rpc.sendpay([routestep], rhash, payment_secret=inv['payment_secret'])
37773778
l2.daemon.wait_for_log('dev_disconnect')
37783779
l2.stop()

0 commit comments

Comments
 (0)