Skip to content

Commit e271d98

Browse files
committed
f use HTLC CLTV value
1 parent 8e1da16 commit e271d98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1746,7 +1746,7 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
17461746
};
17471747
HolderHTLCOutput::build_accepted(payment_preimage, htlc.amount_msat)
17481748
};
1749-
let htlc_package = PackageTemplate::build_package(holder_tx.txid, transaction_output_index, PackageSolvingData::HolderHTLCOutput(htlc_output), conf_height, false, conf_height);
1749+
let htlc_package = PackageTemplate::build_package(holder_tx.txid, transaction_output_index, PackageSolvingData::HolderHTLCOutput(htlc_output), htlc.cltv_expiry, false, conf_height);
17501750
claim_requests.push(htlc_package);
17511751
}
17521752
}

0 commit comments

Comments
 (0)