X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning%2Fsrc%2Fsign%2Ftaproot.rs;h=f2d3f62831374a5091d55a9825f46e494f66e459;hb=2fc79cbfd3f91da854816bcd8c64fb580e44f750;hp=0028a0cd12bb4e111aa04da29aa6d36788b3a404;hpb=2659a2375eb819fe050f057b068c3e27f98a30f7;p=rust-lightning diff --git a/lightning/src/sign/taproot.rs b/lightning/src/sign/taproot.rs index 0028a0cd1..f2d3f6283 100644 --- a/lightning/src/sign/taproot.rs +++ b/lightning/src/sign/taproot.rs @@ -51,8 +51,7 @@ pub trait TaprootChannelSigner: ChannelSigner { /// An external signer implementation should check that the commitment has not been revoked. /// // TODO: Document the things someone using this interface should enforce before signing. - fn finalize_holder_commitment(&self, commitment_number: u64, - commitment_tx: &HolderCommitmentTransaction, + fn finalize_holder_commitment(&self, commitment_tx: &HolderCommitmentTransaction, counterparty_partial_signature: PartialSignatureWithNonce, secp_ctx: &Secp256k1 ) -> Result;