aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-27 21:14:02 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-27 21:14:02 +0800
commit6d59047c5f1f7102f399ca9d009dc91c867a2b2f (patch)
tree553bd52cdd13a62233144bebfa2753ea3566cab5
parentad7c05778f3aa2d4b42c9fa401f57b24370f65ad (diff)
downloadgo-tangerine-6d59047c5f1f7102f399ca9d009dc91c867a2b2f.tar.gz
go-tangerine-6d59047c5f1f7102f399ca9d009dc91c867a2b2f.tar.zst
go-tangerine-6d59047c5f1f7102f399ca9d009dc91c867a2b2f.zip
contract method name
-rw-r--r--lib/contract.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/contract.js b/lib/contract.js
index efee00cd1..65115a211 100644
--- a/lib/contract.js
+++ b/lib/contract.js
@@ -110,6 +110,7 @@ var contract = function (address, desc) {
// TODO: figure out better way to solve this
web3._currentContractAbi = desc;
web3._currentContractAddress = address;
+ web3._currentContractMethodName = method.name;
// transactions do not have any output, cause we do not know, when they will be processed
web3.eth.transact(options);