From 164af7f58e79014f7d8779e93959b94e9532c585 Mon Sep 17 00:00:00 2001 From: Devrandom Date: Wed, 8 Jan 2020 11:50:15 -0800 Subject: [PATCH] Provide remote per-commitment point to sign_remote_commitment --- lightning/src/chain/keysinterface.rs | 4 ++-- lightning/src/ln/channel.rs | 6 +++--- lightning/src/util/enforcing_trait_impls.rs | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) 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