mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
lnrpc: log channel point in coop close warning
Use `Warnf` to include the chanpoint in the warning message instead of printing `%v` to the log
This commit is contained in:
parent
cac8da819f
commit
6a1283cf0b
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user