Commit c08bb7ce authored by d11e9's avatar d11e9

render error on getAddress request fail

parent 5a21d791
......@@ -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]);
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment