@@ -352,7 +352,7 @@ pub trait BaseSign {
352352 /// Computes the signature for a commitment transaction's anchor output used as an
353353 /// input within `anchor_tx`, which spends the commitment transaction, at index `input`.
354354 fn sign_holder_anchor_input (
355- & self , anchor_tx : & mut Transaction , input : usize , secp_ctx : & Secp256k1 < secp256k1:: All > ,
355+ & self , anchor_tx : & Transaction , input : usize , secp_ctx : & Secp256k1 < secp256k1:: All > ,
356356 ) -> Result < Signature , ( ) > ;
357357
358358 /// Signs a channel announcement message with our funding key and our node secret key (aka
@@ -790,7 +790,7 @@ impl BaseSign for InMemorySigner {
790790 }
791791
792792 fn sign_holder_anchor_input (
793- & self , anchor_tx : & mut Transaction , input : usize , secp_ctx : & Secp256k1 < secp256k1:: All > ,
793+ & self , anchor_tx : & Transaction , input : usize , secp_ctx : & Secp256k1 < secp256k1:: All > ,
794794 ) -> Result < Signature , ( ) > {
795795 let witness_script = chan_utils:: get_anchor_redeemscript ( & self . holder_channel_pubkeys . funding_pubkey ) ;
796796 let sighash = sighash:: SighashCache :: new ( & * anchor_tx) . segwit_signature_hash (
0 commit comments