@@ -1667,7 +1667,9 @@ fn do_test_revoked_counterparty_htlc_tx_balances(anchors: bool) {
1667
1667
let revoked_to_self_claim = {
1668
1668
let mut as_commitment_claim_txn = nodes[ 0 ] . tx_broadcaster . txn_broadcast ( ) ;
1669
1669
assert_eq ! ( as_commitment_claim_txn. len( ) , 2 ) ;
1670
+ // One unpinnable revoked to_self output.
1670
1671
assert_eq ! ( as_commitment_claim_txn[ 0 ] . input. len( ) , 1 ) ;
1672
+ // Two pinnable revoked HTLC outputs.
1671
1673
assert_eq ! ( as_commitment_claim_txn[ 1 ] . input. len( ) , 2 ) ;
1672
1674
check_spends ! ( as_commitment_claim_txn[ 0 ] , revoked_local_txn[ 0 ] ) ;
1673
1675
check_spends ! ( as_commitment_claim_txn[ 1 ] , revoked_local_txn[ 0 ] ) ;
@@ -1955,7 +1957,9 @@ fn do_test_revoked_counterparty_aggregated_claims(anchors: bool) {
1955
1957
1956
1958
let mut claim_txn = nodes[ 1 ] . tx_broadcaster . txn_broadcast ( ) ;
1957
1959
assert_eq ! ( claim_txn. len( ) , 2 ) ;
1960
+ // One unpinnable revoked to_self output.
1958
1961
assert_eq ! ( claim_txn[ 0 ] . input. len( ) , 1 ) ;
1962
+ // Two pinnable revoked HTLC outputs.
1959
1963
assert_eq ! ( claim_txn[ 1 ] . input. len( ) , 2 ) ;
1960
1964
check_spends ! ( claim_txn[ 0 ] , as_revoked_txn[ 0 ] ) ;
1961
1965
check_spends ! ( claim_txn[ 1 ] , as_revoked_txn[ 0 ] ) ;
0 commit comments