aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/migrations/003.js
blob: 617c55c0916577c9cb21d7fd120a26409bf7b30f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
  },
}