bugfix: incorrect sender. fixes #48

pull/1/head
d11e9 9 years ago
parent 6ba981301f
commit 37de38becb
  1. 1
      assets/js/universal-dapp.js
  2. 2
      index.html

@ -382,6 +382,7 @@ UniversalDApp.prototype.clickContractAt = function ( self, $output, contract ) {
}
UniversalDApp.prototype.runTx = function( data, args, cb) {
var self = this;
var to = args.address;
var constant = args.abi.constant;
var isConstructor = args.bytecode !== undefined;

@ -700,7 +700,7 @@
var dapp = new UniversalDApp(udappContracts, {
vm: executionContext === 'vm',
removable: false,
getAddress: function(){ return $('txorigin').val(); },
getAddress: function(){ return $('#txorigin').val(); },
removable_instances: true,
renderOutputModifier: function(contractName, $contractOutput) {
var contract = data.contracts[contractName];

Loading…
Cancel
Save