aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrankiebee <frankie.diamond@gmail.com>2017-07-13 11:01:07 +0800
committerfrankiebee <frankie.diamond@gmail.com>2017-07-13 11:01:07 +0800
commit6086bcdf0d1346633bc41fde88bb315ead7f9227 (patch)
tree13e80143400d0e26f0ffce656280efe242612ed5
parentde0cd6e66375f690965f60c58e70900660f565f2 (diff)
downloadtangerine-wallet-browser-6086bcdf0d1346633bc41fde88bb315ead7f9227.tar
tangerine-wallet-browser-6086bcdf0d1346633bc41fde88bb315ead7f9227.tar.gz
tangerine-wallet-browser-6086bcdf0d1346633bc41fde88bb315ead7f9227.tar.bz2
tangerine-wallet-browser-6086bcdf0d1346633bc41fde88bb315ead7f9227.tar.lz
tangerine-wallet-browser-6086bcdf0d1346633bc41fde88bb315ead7f9227.tar.xz
tangerine-wallet-browser-6086bcdf0d1346633bc41fde88bb315ead7f9227.tar.zst
tangerine-wallet-browser-6086bcdf0d1346633bc41fde88bb315ead7f9227.zip
limit the range for retryCount
-rw-r--r--app/scripts/migrations/017.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/migrations/017.js b/app/scripts/migrations/017.js
index c9898ead7..24959cd3a 100644
--- a/app/scripts/migrations/017.js
+++ b/app/scripts/migrations/017.js
@@ -30,7 +30,7 @@ function transformState (state) {
const transactions = newState.TransactionController.transactions
newState.TransactionController.transactions = transactions.map((txMeta) => {
if (!txMeta.status === 'failed') return txMeta
- if (txMeta.retryCount > 0) {
+ if (txMeta.retryCount > 0 && txMeta.retryCount < 2) {
txMeta.status = 'submitted'
delete txMeta.err
}