Skip to content

Commit 4867e68

Browse files
committed
f correct comment
1 parent 06226ef commit 4867e68

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
@@ -4645,8 +4645,8 @@ impl<Signer: Sign> Channel<Signer> {
46454645
-> Result<(Option<msgs::FundingLocked>, Option<msgs::AnnouncementSignatures>), ClosureReason> where L::Target: Logger {
46464646
if let Some(funding_txo) = self.get_funding_txo() {
46474647
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.
46504650
if self.funding_tx_confirmation_height == 0 {
46514651
if tx.txid() == funding_txo.txid {
46524652
let txo_idx = funding_txo.index as usize;

0 commit comments

Comments
 (0)