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 counterparty_initial_commitment_tx = counterparty_initial_commitment_info.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;
1568
1568
1569
-
let holder_keys = self.build_holder_transaction_keys(self.cur_holder_commitment_transaction_number)?;
1570
-
let initial_commitment_info = self.build_commitment_transaction(self.cur_holder_commitment_transaction_number,&holder_keys,true,false,self.feerate_per_kw, logger);
// TODO this works around rustc 1.34.1 borrow issue
1570
+
let channel_monitor = {
1571
+
let holder_keys = self.build_holder_transaction_keys(self.cur_holder_commitment_transaction_number)?;
1572
+
let initial_commitment_info = self.build_commitment_transaction(self.cur_holder_commitment_transaction_number,&holder_keys,true,false,self.feerate_per_kw, logger);
0 commit comments