From 1cea8d98c9abbc9f99d406ba5ac1dd97df9e02c5 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Mon, 18 Mar 2019 20:56:44 -0700 Subject: [PATCH] utoxnursery: allow nursery to start up if timeout spend happens Fixes #2793. --- utxonursery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utxonursery.go b/utxonursery.go index 829d4ba00..36b978152 100644 --- a/utxonursery.go +++ b/utxonursery.go @@ -894,7 +894,7 @@ func (u *utxoNursery) sweepCribOutput(classHeight uint32, baby *babyOutput) erro // We'll now broadcast the HTLC transaction, then wait for it to be // confirmed before transitioning it to kindergarten. err := u.cfg.PublishTransaction(baby.timeoutTx) - if err != nil { + if err != nil && err != lnwallet.ErrDoubleSpend { utxnLog.Errorf("Unable to broadcast baby tx: "+ "%v, %v", err, spew.Sdump(baby.timeoutTx)) return err