aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/migrations/003.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/migrations/003.js')
-rw-r--r--app/scripts/migrations/003.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/scripts/migrations/003.js b/app/scripts/migrations/003.js
new file mode 100644
index 000000000..087f8bcd9
--- /dev/null
+++ b/app/scripts/migrations/003.js
@@ -0,0 +1,15 @@
+var oldTestRpc = 'https://rawtestrpc.metamask.io/'
+var newTestRpc = 'https://testrpc.metamask.io/'
+
+module.exports = {
+ version: 3,
+
+ migrate: function(data) {
+ try {
+ if (data.config.provider.rpcTarget === oldTestRpc) {
+ data.config.provider.rpcTarget = newTestRpc
+ }
+ } catch (e) {}
+ return data
+ }
+}