@@ -1062,10 +1062,10 @@ fn test_revoked_counterparty_htlc_tx_balances() {
1062
1062
confirmation_height: to_remote_conf_height,
1063
1063
} , Balance :: CounterpartyRevokedOutputClaimable { // to_self output to A
1064
1064
claimable_amount_satoshis: 10_000 ,
1065
+ } , Balance :: CounterpartyRevokedOutputClaimable { // HTLC 1
1066
+ claimable_amount_satoshis: 3_000 ,
1065
1067
} , Balance :: CounterpartyRevokedOutputClaimable { // HTLC 2
1066
1068
claimable_amount_satoshis: 1_000 ,
1067
- } , Balance :: CounterpartyRevokedOutputClaimable {
1068
- claimable_amount_satoshis: revoked_htlc_success_txn[ 0 ] . output[ 0 ] . value,
1069
1069
} ] ) ,
1070
1070
sorted_vec( nodes[ 0 ] . chain_monitor. chain_monitor. get_monitor( funding_outpoint) . unwrap( ) . get_claimable_balances( ) ) ) ;
1071
1071
@@ -1138,7 +1138,7 @@ fn test_revoked_counterparty_htlc_tx_balances() {
1138
1138
assert_eq ! ( sorted_vec( vec![ Balance :: CounterpartyRevokedOutputClaimable { // to_self output to A
1139
1139
claimable_amount_satoshis: 10_000 ,
1140
1140
} , Balance :: CounterpartyRevokedOutputClaimable { // HTLC 2
1141
- claimable_amount_satoshis: revoked_htlc_timeout_txn [ 0 ] . output [ 0 ] . value ,
1141
+ claimable_amount_satoshis: 1_000 ,
1142
1142
} ] ) ,
1143
1143
sorted_vec( nodes[ 0 ] . chain_monitor. chain_monitor. get_monitor( funding_outpoint) . unwrap( ) . get_claimable_balances( ) ) ) ;
1144
1144
0 commit comments