Merge pull request #1722 from halseth/chan-status-print
peer: print ChanStatus return value, not address
This commit is contained in:
commit
72aa79692c
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