From 04a2003f3bc9f5e0ef3b50cc6b623838be296542 Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Fri, 18 Oct 2024 11:41:25 -0300 Subject: [PATCH] peer: fix logging (missing argument) [skip ci] Previously, LND log used to have such records: [WRN] PEER: Peer(...): Link=%!v(MISSING) is not active Now the short channel ID is printed there instead of "%!v(MISSING)". --- peer/brontide.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/peer/brontide.go b/peer/brontide.go index 28b3e0dcd..a66618f11 100644 --- a/peer/brontide.go +++ b/peer/brontide.go @@ -1812,7 +1812,7 @@ func newChanMsgStream(p *Brontide, cid lnwire.ChannelID) *msgStream { // If the link is still not active and the calling function // errored out, just return. if chanLink == nil { - p.log.Warnf("Link=%v is not active") + p.log.Warnf("Link=%v is not active", cid) return } }