mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-08-26 21:51:27 +02:00
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:
@@ -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