Merge pull request #5881 from alexbosworth/patch-6

lnrpc: log channel point in coop close warning
This commit is contained in:
Oliver Gugger 2021-10-25 11:30:08 +02:00 committed by GitHub
commit f045ee5e96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -337,6 +337,8 @@ messages directly. There is no routing/path finding involved.
### Code cleanup, refactor, typo fixes
* [Fix logging typo to log channel point on cooperative closes](https://github.com/lightningnetwork/lnd/pull/5881)
* [Refactor the interaction between the `htlcswitch` and `peer` packages for cleaner separation.](https://github.com/lightningnetwork/lnd/pull/5603)
* [Moved the original breach handling and timelock UTXO handling into the contract court package](https://github.com/lightningnetwork/lnd/pull/5745)
@ -539,6 +541,7 @@ requirements surrounding updating the release notes for each new
change](https://github.com/lightningnetwork/lnd/pull/5613).
# Contributors (Alphabetical Order)
* Alex Bosworth
* Alyssa Hertig
* Andras Banki-Horvath
* de6df1re

View file

@ -3312,7 +3312,7 @@ func (r *rpcServer) PendingChannels(ctx context.Context,
// state. We log a warning that the channel will not be included
// in the now deprecated pending close channels field.
case channeldb.CooperativeClose:
rpcsLog.Warn("channel %v cooperatively closed and "+
rpcsLog.Warnf("channel %v cooperatively closed and "+
"in pending close state",
pendingClose.ChanPoint)