From 02235782f04308c47a2e13becaeff972cab52185 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Wed, 7 Dec 2022 00:40:17 +0000 Subject: [PATCH] Drop excess mut on `OnchainTxHandler::generate_external_htlc_claim` --- lightning/src/chain/onchaintx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/chain/onchaintx.rs b/lightning/src/chain/onchaintx.rs index b75349469..9bfe6fa9a 100644 --- a/lightning/src/chain/onchaintx.rs +++ b/lightning/src/chain/onchaintx.rs @@ -1047,7 +1047,7 @@ impl OnchainTxHandler { #[cfg(anchors)] pub(crate) fn generate_external_htlc_claim( - &mut self, outp: &::bitcoin::OutPoint, preimage: &Option + &self, outp: &::bitcoin::OutPoint, preimage: &Option ) -> Option { let find_htlc = |holder_commitment: &HolderCommitmentTransaction| -> Option { let trusted_tx = holder_commitment.trust(); -- 2.39.5