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 should_broadcast = self.should_broadcast_holder_commitment_txn(logger,true);
1936
+
letmut claimable_outpoints = Vec::new();
1937
+
letmut watch_outputs = Vec::new();
1938
+
if should_broadcast {//XXX: do a helper to factor code with block_confirmed()
1939
+
let funding_outp = HolderFundingOutput::build(self.funding_redeemscript.clone());
1940
+
let commitment_package = PackageTemplate::build_package(self.funding_info.0.txid.clone(),self.funding_info.0.indexasu32,PackageSolvingData::HolderFundingOutput(funding_outp),self.best_block.height(),false,self.best_block.height());
let should_broadcast = self.should_broadcast_holder_commitment_txn(logger);
2464
+
let should_broadcast = self.should_broadcast_holder_commitment_txn(logger,false);
2435
2465
if should_broadcast {
2436
2466
let funding_outp = HolderFundingOutput::build(self.funding_redeemscript.clone());
2437
2467
let commitment_package = PackageTemplate::build_package(self.funding_info.0.txid.clone(),self.funding_info.0.indexasu32,PackageSolvingData::HolderFundingOutput(funding_outp),self.best_block.height(),false,self.best_block.height());
0 commit comments