Skip to content

Commit b3dda01

Browse files
committed
pytest: fix occasional short tx in test_onchain_slow_anchor
Signed-off-by: Rusty Russell <[email protected]>
1 parent 4058d88 commit b3dda01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_closing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4311,7 +4311,7 @@ def censoring_sendrawtx(r):
43114311
height = bitcoind.rpc.getblockchaininfo()['blocks']
43124312
l1.daemon.wait_for_log(r"Low-priority anchorspend aiming for block {} \(feerate 7458\)".format(height + 13))
43134313
# Can be out-by-one (short sig)!
4314-
l1.daemon.wait_for_log(r"Anchorspend for local commit tx fee 9377sat \(w=722\), commit_tx fee 1735sat \(w=768\): package feerate 7457 perkw")
4314+
l1.daemon.wait_for_log(r"Anchorspend for local commit tx fee (9377|9369)sat \(w=722\), commit_tx fee 1735sat \(w=76[78]\): package feerate 7457 perkw")
43154315
assert not l1.daemon.is_in_log("Low-priority anchorspend aiming for block {}".format(height + 12))
43164316

43174317
bitcoind.generate_block(1)

0 commit comments

Comments
 (0)