Fix displayed RPC address

Fixes #119
This commit is contained in:
Dan Finlay 2016-04-18 17:35:42 -07:00
parent 0e39110f3c
commit 1d56ab821e
1 changed files with 1 additions and 2 deletions

View File

@ -47,7 +47,6 @@ ConfigScreen.prototype.render = function() {
currentProviderDisplay(metamaskState),
h('div', [
h('input', {
placeholder: 'New RPC URL',
@ -95,7 +94,7 @@ ConfigScreen.prototype.render = function() {
}
function currentProviderDisplay(metamaskState) {
var rpc = metamaskState.rpcTarget
var rpc = metamaskState.provider.rpcTarget
return h('div', [
h('h3', {style: { fontWeight: 'bold' }}, 'Currently using RPC'),
h('p', rpc)