mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-06-05 12:39:54 +02: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
|
// state. We log a warning that the channel will not be included
|
||||||
// in the now deprecated pending close channels field.
|
// in the now deprecated pending close channels field.
|
||||||
case channeldb.CooperativeClose:
|
case channeldb.CooperativeClose:
|
||||||
rpcsLog.Warn("channel %v cooperatively closed and "+
|
rpcsLog.Warnf("channel %v cooperatively closed and "+
|
||||||
"in pending close state",
|
"in pending close state",
|
||||||
pendingClose.ChanPoint)
|
pendingClose.ChanPoint)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user