Commit 6d59047c authored by Marek Kotewicz's avatar Marek Kotewicz

contract method name

parent ad7c0577
...@@ -110,6 +110,7 @@ var contract = function (address, desc) { ...@@ -110,6 +110,7 @@ var contract = function (address, desc) {
// TODO: figure out better way to solve this // TODO: figure out better way to solve this
web3._currentContractAbi = desc; web3._currentContractAbi = desc;
web3._currentContractAddress = address; web3._currentContractAddress = address;
web3._currentContractMethodName = method.name;
// transactions do not have any output, cause we do not know, when they will be processed // transactions do not have any output, cause we do not know, when they will be processed
web3.eth.transact(options); web3.eth.transact(options);
......
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