From: Devrandom Date: Wed, 8 Jan 2020 19:50:15 +0000 (-0800) Subject: Provide remote per-commitment point to sign_remote_commitment X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=164af7f58e79014f7d8779e93959b94e9532c585;p=rust-lightning Provide remote per-commitment point to sign_remote_commitment --- diff --git a/lightning/src/chain/keysinterface.rs b/lightning/src/chain/keysinterface.rs index 081ed7c3b..53fd9f78b 100644 --- a/lightning/src/chain/keysinterface.rs +++ b/lightning/src/chain/keysinterface.rs @@ -142,7 +142,7 @@ pub trait ChannelKeys : Send { /// TODO: Document the things someone using this interface should enforce before signing. /// TODO: Add more input vars to enable better checking (preferably removing commitment_tx and /// making the callee generate it via some util function we expose)! - fn sign_remote_commitment(&self, channel_value_satoshis: u64, channel_funding_redeemscript: &Script, feerate_per_kw: u64, commitment_tx: &Transaction, keys: &TxCreationKeys, htlcs: &[&HTLCOutputInCommitment], to_self_delay: u16, secp_ctx: &Secp256k1, redeem_scripts: &Vec