Skip to content

Commit 670a4f1

Browse files
committed
Drop excess mut on OnchainTxHandler::generate_external_htlc_claim
1 parent c9a284f commit 670a4f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/chain/onchaintx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ impl<ChannelSigner: Sign> OnchainTxHandler<ChannelSigner> {
10481048

10491049
#[cfg(anchors)]
10501050
pub(crate) fn generate_external_htlc_claim(
1051-
&mut self, outp: &::bitcoin::OutPoint, preimage: &Option<PaymentPreimage>
1051+
&self, outp: &::bitcoin::OutPoint, preimage: &Option<PaymentPreimage>
10521052
) -> Option<ExternalHTLCClaim> {
10531053
let find_htlc = |holder_commitment: &HolderCommitmentTransaction| -> Option<ExternalHTLCClaim> {
10541054
let trusted_tx = holder_commitment.trust();

0 commit comments

Comments
 (0)