Skip to content

Commit

Permalink
Clear error on success - was not cleared when retry worked - closes #401
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed Oct 25, 2019
1 parent 19a5328 commit ea445fd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,11 @@ class RelayTransactionWorker(appContext: Context, workerParams: WorkerParameters

appDatabase.transactions.deleteByHash(oldHash)
appDatabase.transactions.upsert(transaction)
transaction.setError(null)
return Result.success()
}
} else {
transaction.setError( "Could not (yet) relay transaction")
transaction.setError("Could not (yet) relay transaction")
}
}

Expand Down

0 comments on commit ea445fd

Please sign in to comment.