Skip to content

Commit 89b9835

Browse files
committed
f Assert, not panic
1 parent 0ff16b4 commit 89b9835

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/reorg_tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ fn do_test_unconf_chan(reload_node: bool, reorg_after_reload: bool, use_funding_
281281
if !reorg_after_reload {
282282
if use_funding_unconfirmed {
283283
let relevant_txids = nodes[0].node.get_relevant_txids();
284+
assert_eq!(relevant_txids.len(), 1);
284285
let txid = relevant_txids[0].0;
285286
assert_eq!(txid, chan.3.txid());
286287
nodes[0].node.transaction_unconfirmed(&txid);

0 commit comments

Comments
 (0)