@@ -311,10 +311,12 @@ fn do_test_claim_value_force_close(prev_commitment_tx: bool) {
311311 let received_htlc_balance = Balance :: MaybePreimageClaimableHTLC {
312312 claimable_amount_satoshis : 3_000 ,
313313 expiry_height : htlc_cltv_timeout,
314+ payment_hash,
314315 } ;
315316 let received_htlc_timeout_balance = Balance :: MaybePreimageClaimableHTLC {
316317 claimable_amount_satoshis : 4_000 ,
317318 expiry_height : htlc_cltv_timeout,
319+ payment_hash : timeout_payment_hash,
318320 } ;
319321 let received_htlc_claiming_balance = Balance :: ContentiousClaimable {
320322 claimable_amount_satoshis : 3_000 ,
@@ -775,10 +777,12 @@ fn test_no_preimage_inbound_htlc_balances() {
775777 let a_received_htlc_balance = Balance :: MaybePreimageClaimableHTLC {
776778 claimable_amount_satoshis : 20_000 ,
777779 expiry_height : htlc_cltv_timeout,
780+ payment_hash : to_a_failed_payment_hash,
778781 } ;
779782 let b_received_htlc_balance = Balance :: MaybePreimageClaimableHTLC {
780783 claimable_amount_satoshis : 10_000 ,
781784 expiry_height : htlc_cltv_timeout,
785+ payment_hash : to_b_failed_payment_hash,
782786 } ;
783787 let b_sent_htlc_balance = Balance :: MaybeTimeoutClaimableHTLC {
784788 claimable_amount_satoshis : 20_000 ,
0 commit comments