@@ -352,7 +352,7 @@ pub trait BaseSign {
352
352
/// Computes the signature for a commitment transaction's anchor output used as an
353
353
/// input within `anchor_tx`, which spends the commitment transaction, at index `input`.
354
354
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 > ,
356
356
) -> Result < Signature , ( ) > ;
357
357
358
358
/// Signs a channel announcement message with our funding key and our node secret key (aka
@@ -790,7 +790,7 @@ impl BaseSign for InMemorySigner {
790
790
}
791
791
792
792
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 > ,
794
794
) -> Result < Signature , ( ) > {
795
795
let witness_script = chan_utils:: get_anchor_redeemscript ( & self . holder_channel_pubkeys . funding_pubkey ) ;
796
796
let sighash = sighash:: SighashCache :: new ( & * anchor_tx) . segwit_signature_hash (
0 commit comments