aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/migrations/007.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2017-02-16 07:56:25 +0800
committerGitHub <noreply@github.com>2017-02-16 07:56:25 +0800
commit3bd23564fbdc5dc81c23f5246956c4de07fb1601 (patch)
treed3db707f1c2e8236c78e143b48e1a2fd9f0323f9 /app/scripts/migrations/007.js
parentf2539d125c2cfe240511f8505e222a9893bf7748 (diff)
parent352bb5cb3941c3a07b383c2400dae337771c6d3a (diff)
downloadtangerine-wallet-browser-3bd23564fbdc5dc81c23f5246956c4de07fb1601.tar
tangerine-wallet-browser-3bd23564fbdc5dc81c23f5246956c4de07fb1601.tar.gz
tangerine-wallet-browser-3bd23564fbdc5dc81c23f5246956c4de07fb1601.tar.bz2
tangerine-wallet-browser-3bd23564fbdc5dc81c23f5246956c4de07fb1601.tar.lz
tangerine-wallet-browser-3bd23564fbdc5dc81c23f5246956c4de07fb1601.tar.xz
tangerine-wallet-browser-3bd23564fbdc5dc81c23f5246956c4de07fb1601.tar.zst
tangerine-wallet-browser-3bd23564fbdc5dc81c23f5246956c4de07fb1601.zip
Merge pull request #1121 from MetaMask/dev
Merge dev into master
Diffstat (limited to 'app/scripts/migrations/007.js')
-rw-r--r--app/scripts/migrations/007.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/scripts/migrations/007.js b/app/scripts/migrations/007.js
index 3ae8cdc2d..236e35224 100644
--- a/app/scripts/migrations/007.js
+++ b/app/scripts/migrations/007.js
@@ -7,11 +7,13 @@ This migration breaks out the TransactionManager substate
*/
const extend = require('xtend')
+const clone = require('clone')
module.exports = {
- version,
+ version,
- migrate: function (versionedData) {
+ migrate: function (originalVersionedData) {
+ let versionedData = clone(originalVersionedData)
versionedData.meta.version = version
try {
const state = versionedData.data