File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -506,12 +506,11 @@ fn do_retry_with_no_persist(confirm_before_reload: bool) {
506
506
let as_htlc_timeout_txn = nodes[ 0 ] . tx_broadcaster . txn_broadcasted . lock ( ) . unwrap ( ) . split_off ( 0 ) ;
507
507
assert_eq ! ( as_htlc_timeout_txn. len( ) , 3 ) ;
508
508
let ( first_htlc_timeout_tx, second_htlc_timeout_tx) = if as_htlc_timeout_txn[ 0 ] == as_commitment_tx {
509
- ( & as_htlc_timeout_txn[ 1 ] , & as_htlc_timeout_txn[ 2 ] )
510
- } else {
511
- assert_eq ! ( as_htlc_timeout_txn[ 2 ] , as_commitment_tx) ;
512
- ( & as_htlc_timeout_txn[ 0 ] , & as_htlc_timeout_txn[ 1 ] )
513
- } ;
514
- //check_spends!(as_htlc_timeout_txn[2], funding_tx);
509
+ ( & as_htlc_timeout_txn[ 1 ] , & as_htlc_timeout_txn[ 2 ] )
510
+ } else {
511
+ assert_eq ! ( as_htlc_timeout_txn[ 2 ] , as_commitment_tx) ;
512
+ ( & as_htlc_timeout_txn[ 0 ] , & as_htlc_timeout_txn[ 1 ] )
513
+ } ;
515
514
check_spends ! ( first_htlc_timeout_tx, as_commitment_tx) ;
516
515
check_spends ! ( second_htlc_timeout_tx, as_commitment_tx) ;
517
516
if first_htlc_timeout_tx. input [ 0 ] . previous_output == bs_htlc_claim_txn[ 0 ] . input [ 0 ] . previous_output {
You can’t perform that action at this time.
0 commit comments