peer: print ChanStatus return value, not address

This commit is contained in:
Johan T. Halseth 2018-08-11 11:12:09 +02:00
parent 6989316b11
commit 64c2c6b118
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

View File

@ -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
}