diff options
author | frankiebee <frankie.diamond@gmail.com> | 2018-04-06 02:28:25 +0800 |
---|---|---|
committer | frankiebee <frankie.diamond@gmail.com> | 2018-04-06 02:28:25 +0800 |
commit | 4efc718074a819c15beceece5e0f08b49c8b60bb (patch) | |
tree | ea7d107daa61a22b93599c1a923abdd1436f1434 /app | |
parent | 1153120fe84e9d4cde47a7e416028be0fec3c61c (diff) | |
download | tangerine-wallet-browser-4efc718074a819c15beceece5e0f08b49c8b60bb.tar tangerine-wallet-browser-4efc718074a819c15beceece5e0f08b49c8b60bb.tar.gz tangerine-wallet-browser-4efc718074a819c15beceece5e0f08b49c8b60bb.tar.bz2 tangerine-wallet-browser-4efc718074a819c15beceece5e0f08b49c8b60bb.tar.lz tangerine-wallet-browser-4efc718074a819c15beceece5e0f08b49c8b60bb.tar.xz tangerine-wallet-browser-4efc718074a819c15beceece5e0f08b49c8b60bb.tar.zst tangerine-wallet-browser-4efc718074a819c15beceece5e0f08b49c8b60bb.zip |
make migration-24 compat with first-time-state
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/migrations/024.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/migrations/024.js b/app/scripts/migrations/024.js index 7a0391805..043b47ccc 100644 --- a/app/scripts/migrations/024.js +++ b/app/scripts/migrations/024.js @@ -29,8 +29,8 @@ module.exports = { function transformState (state) { const newState = state + if (!newState.TransactionController) return newState const transactions = newState.TransactionController.transactions - newState.TransactionController.transactions = transactions.map((txMeta, _, txList) => { if ( txMeta.status === 'unapproved' && |