peer: don't stop nil channel

This commit is contained in:
Johan T. Halseth 2018-06-19 12:48:11 +01:00
parent fc658dbf60
commit 55c8741e42
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

@ -314,7 +314,6 @@ func (p *peer) loadActiveChannels(chans []*channeldb.OpenChannel) error {
p.server.cc.signer, p.server.witnessBeacon, dbChan,
)
if err != nil {
lnChan.Stop()
return err
}