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.
|
// htlcswitch.
|
||||||
if dbChan.ChanStatus() != channeldb.Default {
|
if dbChan.ChanStatus() != channeldb.Default {
|
||||||
peerLog.Warnf("ChannelPoint(%v) has status %v, won't "+
|
peerLog.Warnf("ChannelPoint(%v) has status %v, won't "+
|
||||||
"start.", chanPoint, dbChan.ChanStatus)
|
"start.", chanPoint, dbChan.ChanStatus())
|
||||||
lnChan.Stop()
|
lnChan.Stop()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user