From 6a1283cf0b9224bc9926868710d2d301ee17d8d5 Mon Sep 17 00:00:00 2001 From: Alex Bosworth Date: Fri, 22 Oct 2021 13:20:55 -0700 Subject: [PATCH] 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 --- rpcserver.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcserver.go b/rpcserver.go index a204538e0..9b15348ab 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -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)