From 30047feb359db201a12d804a467588667af7ab2e Mon Sep 17 00:00:00 2001 From: zoupingshi Date: Fri, 31 May 2024 15:16:33 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: zoupingshi --- funding/manager.go | 2 +- lnwallet/wallet.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/funding/manager.go b/funding/manager.go index 2f020b9d5..40d49c6e2 100644 --- a/funding/manager.go +++ b/funding/manager.go @@ -3911,7 +3911,7 @@ func (f *Manager) handleChannelReady(peer lnpeer.Peer, //nolint:funlen localNonce, ok := f.pendingMusigNonces[chanID] if !ok { // If there's no pending nonce for this channel ID, - // we'll use the one generatd above. + // we'll use the one generated above. localNonce = firstVerNonce f.pendingMusigNonces[chanID] = firstVerNonce } diff --git a/lnwallet/wallet.go b/lnwallet/wallet.go index b99b6eed2..cf61606da 100644 --- a/lnwallet/wallet.go +++ b/lnwallet/wallet.go @@ -2564,7 +2564,7 @@ func (c *CoinSource) ListCoins(minConfs int32, for _, utxo := range utxos { // If there is a filter function supplied all utxos not adhering - // to these conditions will be discared. + // to these conditions will be discarded. if c.allowUtxo != nil && !c.allowUtxo(*utxo) { walletLog.Infof("Cannot use unconfirmed "+ "utxo=%v because it is unstable and could be "+