File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -7592,20 +7592,12 @@ where
7592
7592
}
7593
7593
}
7594
7594
7595
- fn verify_interactive_tx_signatures(&mut self, _witnesses: &Vec<Witness>) {
7596
- if let Some(ref mut _signing_session) = self.interactive_tx_signing_session {
7597
- // Check that sighash_all was used:
7598
- // TODO(dual_funding): Check sig for sighash
7599
- }
7600
- }
7601
-
7602
7595
pub fn funding_transaction_signed<L: Deref>(
7603
7596
&mut self, witnesses: Vec<Witness>, logger: &L,
7604
7597
) -> Result<Option<msgs::TxSignatures>, APIError>
7605
7598
where
7606
7599
L::Target: Logger,
7607
7600
{
7608
- self.verify_interactive_tx_signatures(&witnesses);
7609
7601
if let Some(ref mut signing_session) = self.interactive_tx_signing_session {
7610
7602
let logger = WithChannelContext::from(logger, &self.context, None);
7611
7603
if let Some(holder_tx_signatures) = signing_session
@@ -7675,11 +7667,6 @@ where
7675
7667
ClosureReason::HolderForceClosed { broadcasted_latest_txn: Some(false) },
7676
7668
)));
7677
7669
}
7678
-
7679
- // TODO(dual_funding): Check all sigs are SIGHASH_ALL.
7680
-
7681
- // TODO(dual_funding): I don't see how we're going to be able to ensure witness-standardness
7682
- // for spending. Doesn't seem to be anything in rust-bitcoin.
7683
7670
}
7684
7671
7685
7672
let (holder_tx_signatures_opt, funding_tx_opt) = signing_session.received_tx_signatures(msg.clone())
You can’t perform that action at this time.
0 commit comments