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:
Alex Bosworth authored and GitHub committed 2021-10-22 13:20:55 -07:00
1 parent cac8da819f
commit 6a1283cf0b
1 file changed
+1 -1
+1 -1
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)