Skip to content

Commit

Permalink
utxonursery: attempt to republish crib transaction on regraduation
Browse files Browse the repository at this point in the history
  • Loading branch information
Roasbeef committed Jan 23, 2018
1 parent 12babb3 commit fb17f3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utxonursery.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit fb17f3a

Please sign in to comment.