mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-05 18:10:27 +01:00
Merge pull request #8798 from zoupingshi/master
chore: fix some comments
This commit is contained in:
commit
613bfc07fb
2 changed files with 2 additions and 2 deletions
|
@ -3911,7 +3911,7 @@ func (f *Manager) handleChannelReady(peer lnpeer.Peer, //nolint:funlen
|
||||||
localNonce, ok := f.pendingMusigNonces[chanID]
|
localNonce, ok := f.pendingMusigNonces[chanID]
|
||||||
if !ok {
|
if !ok {
|
||||||
// If there's no pending nonce for this channel ID,
|
// 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
|
localNonce = firstVerNonce
|
||||||
f.pendingMusigNonces[chanID] = firstVerNonce
|
f.pendingMusigNonces[chanID] = firstVerNonce
|
||||||
}
|
}
|
||||||
|
|
|
@ -2564,7 +2564,7 @@ func (c *CoinSource) ListCoins(minConfs int32,
|
||||||
|
|
||||||
for _, utxo := range utxos {
|
for _, utxo := range utxos {
|
||||||
// If there is a filter function supplied all utxos not adhering
|
// 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) {
|
if c.allowUtxo != nil && !c.allowUtxo(*utxo) {
|
||||||
walletLog.Infof("Cannot use unconfirmed "+
|
walletLog.Infof("Cannot use unconfirmed "+
|
||||||
"utxo=%v because it is unstable and could be "+
|
"utxo=%v because it is unstable and could be "+
|
||||||
|
|
Loading…
Add table
Reference in a new issue