You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let commitment_sighash = hash_to_message!(&bip143::SighashComponents::new(&commitment_tx).sighash_all(&commitment_tx.input[0],&channel_funding_script, channel_value_satoshis)[..]);
189
+
let commitment_sighash = hash_to_message!(&bip143::SighashComponents::new(&commitment_tx).sighash_all(&commitment_tx.input[0],&channel_funding_redeemscript, channel_value_satoshis)[..]);
174
190
let commitment_sig = secp_ctx.sign(&commitment_sighash,&self.funding_key);
175
191
176
192
let commitment_txid = commitment_tx.txid();
@@ -191,6 +207,21 @@ impl ChannelKeys for InMemoryChannelKeys {
let funding_redeemscript = self.get_funding_redeemscript();
2669
-
let sighash = hash_to_message!(&bip143::SighashComponents::new(&closing_tx).sighash_all(&closing_tx.input[0],&funding_redeemscript,self.channel_value_satoshis)[..]);
0 commit comments