From e884da4f03605c1f9b1860919f6c26a940655834 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 16 Jan 2018 20:30:40 -0800 Subject: [PATCH] utxonursery: within IncubateOutputs, don't mark channel as fully closed We no longer need to mark the channel as fully closed as the ChannelArbitrator for the channel that incubation was requested for will handle this. --- utxonursery.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/utxonursery.go b/utxonursery.go index c154f47f..d579932d 100644 --- a/utxonursery.go +++ b/utxonursery.go @@ -391,12 +391,6 @@ func (u *utxoNursery) IncubateOutputs( } - // If there are no outputs to incubate for this channel, we simply mark - // the channel as fully closed. - if commOutput == nil && len(htlcOutputs) == 0 { - utxnLog.Infof("Channel(%s) has no outputs to incubate, "+ - "marking fully closed.", &closeSummary.ChanPoint) - return u.cfg.DB.MarkChanFullyClosed(&closeSummary.ChanPoint) } utxnLog.Infof("Incubating Channel(%s) has-commit=%v, num-htlcs=%d",