@@ -311,10 +311,12 @@ fn do_test_claim_value_force_close(prev_commitment_tx: bool) {
311
311
let received_htlc_balance = Balance :: MaybePreimageClaimableHTLC {
312
312
claimable_amount_satoshis : 3_000 ,
313
313
expiry_height : htlc_cltv_timeout,
314
+ payment_hash,
314
315
} ;
315
316
let received_htlc_timeout_balance = Balance :: MaybePreimageClaimableHTLC {
316
317
claimable_amount_satoshis : 4_000 ,
317
318
expiry_height : htlc_cltv_timeout,
319
+ payment_hash : timeout_payment_hash,
318
320
} ;
319
321
let received_htlc_claiming_balance = Balance :: ContentiousClaimable {
320
322
claimable_amount_satoshis : 3_000 ,
@@ -775,10 +777,12 @@ fn test_no_preimage_inbound_htlc_balances() {
775
777
let a_received_htlc_balance = Balance :: MaybePreimageClaimableHTLC {
776
778
claimable_amount_satoshis : 20_000 ,
777
779
expiry_height : htlc_cltv_timeout,
780
+ payment_hash : to_a_failed_payment_hash,
778
781
} ;
779
782
let b_received_htlc_balance = Balance :: MaybePreimageClaimableHTLC {
780
783
claimable_amount_satoshis : 10_000 ,
781
784
expiry_height : htlc_cltv_timeout,
785
+ payment_hash : to_b_failed_payment_hash,
782
786
} ;
783
787
let b_sent_htlc_balance = Balance :: MaybeTimeoutClaimableHTLC {
784
788
claimable_amount_satoshis : 20_000 ,
0 commit comments