peer+chancloser: mark coop broadcasted

This commit is contained in:
Conner Fromknecht committed 2019-12-04 14:25:28 -08:00
1 parent b3c28c9cba
commit d9cf0396b3
3 files changed
+13 -2

No files matched your search

+2
View File
@@ -463,6 +463,8 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) (
fallthrough
case dbChan.HasChanStatus(channeldb.ChanStatusCommitBroadcasted):
fallthrough
case dbChan.HasChanStatus(channeldb.ChanStatusCoopBroadcasted):
fallthrough
case dbChan.HasChanStatus(channeldb.ChanStatusLocalDataLoss):
peerLog.Warnf("ChannelPoint(%v) has status %v, won't "+
"start.", chanPoint, dbChan.ChanStatus())