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 local_commitment_txid = local_commitment_tx.0.txid();
1604
1603
let local_sighash = Message::from_slice(&bip143::SighashComponents::new(&local_commitment_tx.0).sighash_all(&local_commitment_tx.0.input[0],&funding_script,self.channel_value_satoshis)[..]).unwrap();
1605
1604
secp_call!(self.secp_ctx.verify(&local_sighash,&msg.signature,&self.their_funding_pubkey.unwrap()),"Invalid commitment tx signature from peer",self.channel_id());
@@ -1632,6 +1631,17 @@ impl Channel {
1632
1631
let per_commitment_secret = chan_utils::build_commitment_secret(self.local_keys.commitment_seed,self.cur_local_commitment_transaction_number + 1);
1633
1632
1634
1633
// Update state now that we've passed all the can-fail calls...
0 commit comments