1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-22 17:33:23 +01: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), currentProviderDisplay(metamaskState),
h('div', [ h('div', [
h('input', { h('input', {
placeholder: 'New RPC URL', placeholder: 'New RPC URL',
@ -95,7 +94,7 @@ ConfigScreen.prototype.render = function() {
} }
function currentProviderDisplay(metamaskState) { function currentProviderDisplay(metamaskState) {
var rpc = metamaskState.rpcTarget var rpc = metamaskState.provider.rpcTarget
return h('div', [ return h('div', [
h('h3', {style: { fontWeight: 'bold' }}, 'Currently using RPC'), h('h3', {style: { fontWeight: 'bold' }}, 'Currently using RPC'),
h('p', rpc) h('p', rpc)