mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 11:01:41 +01:00
16 lines
334 B
JavaScript
16 lines
334 B
JavaScript
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
|
|
},
|
|
}
|