From fb17f3aeb4ea39fc27218fc3291d8ef9ad6dae90 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 16 Jan 2018 20:48:51 -0800 Subject: [PATCH] utxonursery: attempt to republish crib transaction on regraduation --- utxonursery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utxonursery.go b/utxonursery.go index b6d8e604..2e40e056 100644 --- a/utxonursery.go +++ b/utxonursery.go @@ -730,7 +730,7 @@ func (u *utxoNursery) regraduateClass(classHeight uint32) error { // this height. There is no need to finalize these txns, since the txid // is predetermined when signed in the wallet. for i := range cribOutputs { - err = u.registerTimeoutConf(&cribOutputs[i], classHeight) + err := u.sweepCribOutput(classHeight, &cribOutputs[i]) if err != nil { utxnLog.Errorf("Failed to re-register first-stage "+ "HTLC output %v", cribOutputs[i].OutPoint())