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 2024-10-18 11:41:25 -03:00
parent 395a761eb6
commit 04a2003f3b
No known key found for this signature in database

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
}
}