mirror of https://github.com/status-im/web3.js.git
contract method name
This commit is contained in:
parent
ad7c05778f
commit
6d59047c5f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue