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

peer: print ChanStatus return value, not address
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-08-12 20:56:47 -07:00
commit 72aa79692c
1 file changed
+1 -1
+1 -1
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
}