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 @@ -4659,8 +4659,8 @@ impl<Signer: Sign> Channel<Signer> {
4659
4659
-> Result < ( Option < msgs:: FundingLocked > , Option < msgs:: AnnouncementSignatures > ) , ClosureReason > where L :: Target : Logger {
4660
4660
if let Some ( funding_txo) = self . get_funding_txo ( ) {
4661
4661
for & ( index_in_block, tx) in txdata. iter ( ) {
4662
- // If we haven't yet sent a funding_locked, but are in FundingSent (ignoring
4663
- // whether they've sent a funding_locked or not), check if we should send one .
4662
+ // Check if the transaction is the expected funding transaction, and if it is,
4663
+ // check that it pays the right amount to the right script .
4664
4664
if self . funding_tx_confirmation_height == 0 {
4665
4665
if tx. txid ( ) == funding_txo. txid {
4666
4666
let txo_idx = funding_txo. index as usize ;
You can’t perform that action at this time.
0 commit comments