diff options
Diffstat (limited to 'app/scripts/migrations/011.js')
-rw-r--r-- | app/scripts/migrations/011.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/scripts/migrations/011.js b/app/scripts/migrations/011.js index 227fd87f7..bf283ef98 100644 --- a/app/scripts/migrations/011.js +++ b/app/scripts/migrations/011.js @@ -6,10 +6,13 @@ This migration breaks out the CurrencyController substate */ +const clone = require('clone') + module.exports = { version, - migrate: function (versionedData) { + migrate: function (originalVersionedData) { + let versionedData = clone(originalVersionedData) versionedData.meta.version = version try { const state = versionedData.data |