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
log_trace!(logger,"Checking funding_created tx signature {} by key {} against tx {} (sighash {}) with redeemscript {}", log_bytes!(sig.serialize_compact()[..]), log_bytes!(self.counterparty_funding_pubkey().serialize()), encode::serialize_hex(&initial_commitment_tx), log_bytes!(sighash[..]), encode::serialize_hex(&funding_script));
1468
1468
secp_check!(self.secp_ctx.verify(&sighash,&sig,self.counterparty_funding_pubkey()),"Invalid funding_created signature from peer".to_owned());
1469
1469
1470
-
let tx = HolderCommitmentTransaction::new_missing_holder_sig(initial_commitment_tx, sig.clone(),&self.holder_keys.pubkeys().funding_pubkey,self.counterparty_funding_pubkey(), keys,self.feerate_per_kw,Vec::new());
1471
-
1472
1470
let counterparty_keys = self.build_remote_transaction_keys()?;
1473
1471
let counterparty_initial_commitment_info = self.build_commitment_transaction(self.cur_counterparty_commitment_transaction_number,&counterparty_keys,false,false,self.feerate_per_kw, logger);
1474
1472
let counterparty_initial_commitment_tx = counterparty_initial_commitment_info.0.build(self.counterparty_pubkeys.as_ref().unwrap(),self.holder_keys.pubkeys(),&self.funding_txo.unwrap().into_bitcoin_outpoint(),self.holder_selected_contest_delay,!self.is_outbound(),&self.secp_ctx).unwrap().0;
0 commit comments