File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4645,8 +4645,8 @@ impl<Signer: Sign> Channel<Signer> {
4645
4645
-> Result < ( Option < msgs:: FundingLocked > , Option < msgs:: AnnouncementSignatures > ) , ClosureReason > where L :: Target : Logger {
4646
4646
if let Some ( funding_txo) = self . get_funding_txo ( ) {
4647
4647
for & ( index_in_block, tx) in txdata. iter ( ) {
4648
- // If we haven't yet sent a funding_locked, but are in FundingSent (ignoring
4649
- // whether they've sent a funding_locked or not), check if we should send one .
4648
+ // Check if the transaction is the expected funding transaction, and if it is,
4649
+ // check that it pays the right amount to the right script .
4650
4650
if self . funding_tx_confirmation_height == 0 {
4651
4651
if tx. txid ( ) == funding_txo. txid {
4652
4652
let txo_idx = funding_txo. index as usize ;
You can’t perform that action at this time.
0 commit comments