From 05f4abaa8e43aedb6c9157f969b7c975f0f6af7d Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Mon, 4 Apr 2016 13:48:41 +0100 Subject: [PATCH] Support multiple accounts in VM mode --- assets/js/app.js | 18 +++++++++--------- assets/js/universal-dapp.js | 38 ++++++++++++++++++++++++++++--------- 2 files changed, 38 insertions(+), 18 deletions(-) diff --git a/assets/js/app.js b/assets/js/app.js index 8217fb3fae..a301a5e8bc 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -684,22 +684,22 @@ }}); var $contractOutput = dapp.render(); - $txOrigin = $('#txorigin'); - if (executionContext === 'vm') { - $txOrigin.empty(); - var addr = '0x' + dapp.address.toString('hex'); - $txOrigin.val(addr); - $txOrigin.append($('