Commit 91bb93d8 authored by chriseth's avatar chriseth

Merge pull request #49 from d11e9/fixSender

bugfix incorrect sender
parents 6ba98130 37de38be
...@@ -382,6 +382,7 @@ UniversalDApp.prototype.clickContractAt = function ( self, $output, contract ) { ...@@ -382,6 +382,7 @@ UniversalDApp.prototype.clickContractAt = function ( self, $output, contract ) {
} }
UniversalDApp.prototype.runTx = function( data, args, cb) { UniversalDApp.prototype.runTx = function( data, args, cb) {
var self = this;
var to = args.address; var to = args.address;
var constant = args.abi.constant; var constant = args.abi.constant;
var isConstructor = args.bytecode !== undefined; var isConstructor = args.bytecode !== undefined;
......
...@@ -700,7 +700,7 @@ ...@@ -700,7 +700,7 @@
var dapp = new UniversalDApp(udappContracts, { var dapp = new UniversalDApp(udappContracts, {
vm: executionContext === 'vm', vm: executionContext === 'vm',
removable: false, removable: false,
getAddress: function(){ return $('txorigin').val(); }, getAddress: function(){ return $('#txorigin').val(); },
removable_instances: true, removable_instances: true,
renderOutputModifier: function(contractName, $contractOutput) { renderOutputModifier: function(contractName, $contractOutput) {
var contract = data.contracts[contractName]; var contract = data.contracts[contractName];
......
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