aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/migrations/023.js
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-03 06:49:33 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-03 06:49:33 +0800
commita8f745f9fe74751b87f500af3857b66d4c80f45e (patch)
treef4f09d2b4227b35a6d2fd996113d36a8aa658ddd /app/scripts/migrations/023.js
parentcc11a623972acf707291d7b42d9dc2f8d7006e20 (diff)
downloadtangerine-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.js4
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' ||