diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-03 06:49:33 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-03 06:49:33 +0800 |
commit | a8f745f9fe74751b87f500af3857b66d4c80f45e (patch) | |
tree | f4f09d2b4227b35a6d2fd996113d36a8aa658ddd /app/scripts/migrations/023.js | |
parent | cc11a623972acf707291d7b42d9dc2f8d7006e20 (diff) | |
download | tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.gz tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.bz2 tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.lz tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.xz tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.tar.zst tangerine-wallet-browser-a8f745f9fe74751b87f500af3857b66d4c80f45e.zip |
eslint --fix .
Diffstat (limited to 'app/scripts/migrations/023.js')
-rw-r--r-- | app/scripts/migrations/023.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/migrations/023.js b/app/scripts/migrations/023.js index 151496b06..18493a789 100644 --- a/app/scripts/migrations/023.js +++ b/app/scripts/migrations/023.js @@ -35,10 +35,10 @@ function transformState (state) { if (transactions.length <= 40) return newState - let reverseTxList = transactions.reverse() + const reverseTxList = transactions.reverse() let stripping = true while (reverseTxList.length > 40 && stripping) { - let txIndex = reverseTxList.findIndex((txMeta) => { + const txIndex = reverseTxList.findIndex((txMeta) => { return (txMeta.status === 'failed' || txMeta.status === 'rejected' || txMeta.status === 'confirmed' || |