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)".
This commit is contained in:
Boris Nagaev committed 2024-10-18 12:09:44 -03:00
1 parent 395a761eb6
commit 04a2003f3b
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}