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
Rename MonitorEvent::CommitmentTxConfirmed to HolderForceClosed
The `MonitorEvent::CommitmentTxConfirmed` has always been a result
of us force-closing the channel, not the counterparty doing so.
Thus, it was always a bit of a misnoder. Worse, it carried over
into the channel's `ClosureReason` in the event API.
Here we simply rename it and use the proper `ClosureReason`.
let funding_outp = HolderFundingOutput::build(self.funding_redeemscript.clone(),self.channel_value_satoshis,self.onchain_tx_handler.channel_type_features().clone());
3480
3480
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(),self.best_block.height());
0 commit comments