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:
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user