contract method name

This commit is contained in:
Marek Kotewicz 2015-01-27 14:14:02 +01:00
parent ad7c05778f
commit 6d59047c5f

View File

@ -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);