mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
peer: print ChanStatus return value, not address
This commit is contained in:
parent
6989316b11
commit
64c2c6b118
2
peer.go
2
peer.go
@ -337,7 +337,7 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error {
|
||||
// htlcswitch.
|
||||
if dbChan.ChanStatus() != channeldb.Default {
|
||||
peerLog.Warnf("ChannelPoint(%v) has status %v, won't "+
|
||||
"start.", chanPoint, dbChan.ChanStatus)
|
||||
"start.", chanPoint, dbChan.ChanStatus())
|
||||
lnChan.Stop()
|
||||
continue
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user