Skip to content

Commit 24853a5

Browse files
committed
f correct comment
1 parent 197ee56 commit 24853a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/channel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4659,8 +4659,8 @@ impl<Signer: Sign> Channel<Signer> {
46594659
-> Result<(Option<msgs::FundingLocked>, Option<msgs::AnnouncementSignatures>), ClosureReason> where L::Target: Logger {
46604660
if let Some(funding_txo) = self.get_funding_txo() {
46614661
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.
46644664
if self.funding_tx_confirmation_height == 0 {
46654665
if tx.txid() == funding_txo.txid {
46664666
let txo_idx = funding_txo.index as usize;

0 commit comments

Comments
 (0)