@@ -1682,7 +1682,9 @@ fn do_test_revoked_counterparty_htlc_tx_balances(anchors: bool) {
1682
1682
let revoked_to_self_claim = {
1683
1683
let mut as_commitment_claim_txn = nodes[ 0 ] . tx_broadcaster . txn_broadcast ( ) ;
1684
1684
assert_eq ! ( as_commitment_claim_txn. len( ) , 2 ) ;
1685
+ // One unpinnable revoked to_self output.
1685
1686
assert_eq ! ( as_commitment_claim_txn[ 0 ] . input. len( ) , 1 ) ;
1687
+ // Two pinnable revoked HTLC outputs.
1686
1688
assert_eq ! ( as_commitment_claim_txn[ 1 ] . input. len( ) , 2 ) ;
1687
1689
check_spends ! ( as_commitment_claim_txn[ 0 ] , revoked_local_txn[ 0 ] ) ;
1688
1690
check_spends ! ( as_commitment_claim_txn[ 1 ] , revoked_local_txn[ 0 ] ) ;
@@ -1970,7 +1972,9 @@ fn do_test_revoked_counterparty_aggregated_claims(anchors: bool) {
1970
1972
1971
1973
let mut claim_txn = nodes[ 1 ] . tx_broadcaster . txn_broadcast ( ) ;
1972
1974
assert_eq ! ( claim_txn. len( ) , 2 ) ;
1975
+ // One unpinnable revoked to_self output.
1973
1976
assert_eq ! ( claim_txn[ 0 ] . input. len( ) , 1 ) ;
1977
+ // Two pinnable revoked HTLC outputs.
1974
1978
assert_eq ! ( claim_txn[ 1 ] . input. len( ) , 2 ) ;
1975
1979
check_spends ! ( claim_txn[ 0 ] , as_revoked_txn[ 0 ] ) ;
1976
1980
check_spends ! ( claim_txn[ 1 ] , as_revoked_txn[ 0 ] ) ;
0 commit comments