diff options
author | frankiebee <frankie.diamond@gmail.com> | 2017-07-13 11:01:07 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2017-07-13 11:01:07 +0800 |
commit | 6086bcdf0d1346633bc41fde88bb315ead7f9227 (patch) | |
tree | 13e80143400d0e26f0ffce656280efe242612ed5 | |
parent | de0cd6e66375f690965f60c58e70900660f565f2 (diff) | |
download | tangerine-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.js | 2 |
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 } |