utoxnursery: allow nursery to start up if timeout spend happens
Fixes #2793.
This commit is contained in:
parent
db411c244e
commit
1cea8d98c9
@ -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
|
// We'll now broadcast the HTLC transaction, then wait for it to be
|
||||||
// confirmed before transitioning it to kindergarten.
|
// confirmed before transitioning it to kindergarten.
|
||||||
err := u.cfg.PublishTransaction(baby.timeoutTx)
|
err := u.cfg.PublishTransaction(baby.timeoutTx)
|
||||||
if err != nil {
|
if err != nil && err != lnwallet.ErrDoubleSpend {
|
||||||
utxnLog.Errorf("Unable to broadcast baby tx: "+
|
utxnLog.Errorf("Unable to broadcast baby tx: "+
|
||||||
"%v, %v", err, spew.Sdump(baby.timeoutTx))
|
"%v, %v", err, spew.Sdump(baby.timeoutTx))
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user