diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-04 01:31:30 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-04 01:31:30 +0800 |
commit | 3290421e2f16bd0ea1b13ba3f3d93fc4d233c750 (patch) | |
tree | dfbcfb70609fd24074dad6686f447a452313c6c6 /app/scripts/migrations/023.js | |
parent | 85fd75c21f0e64817b3d4c4d51f37649e3a81233 (diff) | |
parent | 1f0cf11af1c94e750bbc4c5238c3ee028350a6c6 (diff) | |
download | tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.gz tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.bz2 tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.lz tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.xz tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.tar.zst tangerine-wallet-browser-3290421e2f16bd0ea1b13ba3f3d93fc4d233c750.zip |
fix merge conflicts
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' || |