1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

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

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)