render error on getAddress request fail

pull/1/head
d11e9 9 years ago
parent 5a21d791a6
commit c08bb7ce44
  1. 1
      index.html

@ -519,6 +519,7 @@ THE SOFTWARE.
if (executionContext === 'vm') $('#txorigin').text('0x' + dapp.address.toString('hex'));
else web3.eth.getAccounts( function(err,accounts) {
if (err) renderError(err.message);
$('#txorigin').text(accounts[0]);
});

Loading…
Cancel
Save