Point rawtestrpc at new testrpc

feature/default_network_editable
Dan Finlay 9 years ago
parent be4818564a
commit d4e918cc77
  1. 4
      app/scripts/inpage.js
  2. 2
      app/scripts/lib/config-manager.js

@ -11,7 +11,7 @@ const createPayload = require('web3-provider-engine/util/create-payload')
const StreamProvider = require('./lib/stream-provider.js') const StreamProvider = require('./lib/stream-provider.js')
const LocalMessageDuplexStream = require('./lib/local-message-stream.js') const LocalMessageDuplexStream = require('./lib/local-message-stream.js')
const RPC_URL = 'https://rawtestrpc.metamask.io/' const RPC_URL = 'https://testrpc.metamask.io/'
// //
@ -57,7 +57,7 @@ var syncProvider = new Web3.providers.HttpProvider(RPC_URL)
remoteProvider.send = function(payload){ remoteProvider.send = function(payload){
var result = null var result = null
switch (payload.method) { switch (payload.method) {
case 'eth_accounts': case 'eth_accounts':
// read from localStorage // read from localStorage
accountsCache = JSON.parse(localStorage['MetaMask-Accounts'] || '[]') accountsCache = JSON.parse(localStorage['MetaMask-Accounts'] || '[]')

@ -2,7 +2,7 @@ const Migrator = require('pojo-migrator')
const extend = require('xtend') const extend = require('xtend')
const STORAGE_KEY = 'metamask-config' const STORAGE_KEY = 'metamask-config'
const DEFAULT_RPC = 'https://rawtestrpc.metamask.io/' const DEFAULT_RPC = 'https://testrpc.metamask.io/'
const migrations = require('./migrations') const migrations = require('./migrations')

Loading…
Cancel
Save