Merge pull request #1722 from halseth/chan-status-print

peer: print ChanStatus return value, not address
This commit is contained in:
Olaoluwa Osuntokun 2018-08-12 20:56:47 -07:00 committed by GitHub
commit 72aa79692c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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