mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Point rawtestrpc at new testrpc
This commit is contained in:
parent
be4818564a
commit
d4e918cc77
@ -11,7 +11,7 @@ const createPayload = require('web3-provider-engine/util/create-payload')
|
||||
const StreamProvider = require('./lib/stream-provider.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){
|
||||
var result = null
|
||||
switch (payload.method) {
|
||||
|
||||
|
||||
case 'eth_accounts':
|
||||
// read from localStorage
|
||||
accountsCache = JSON.parse(localStorage['MetaMask-Accounts'] || '[]')
|
||||
|
@ -2,7 +2,7 @@ const Migrator = require('pojo-migrator')
|
||||
const extend = require('xtend')
|
||||
|
||||
const STORAGE_KEY = 'metamask-config'
|
||||
const DEFAULT_RPC = 'https://rawtestrpc.metamask.io/'
|
||||
const DEFAULT_RPC = 'https://testrpc.metamask.io/'
|
||||
|
||||
const migrations = require('./migrations')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user