utxonursery: attempt to republish crib transaction on regraduation

This commit is contained in:
Olaoluwa Osuntokun 2018-01-16 20:48:51 -08:00
parent 12babb3cea
commit fb17f3aeb4
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21

@ -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())