aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-21 00:46:37 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-21 00:46:37 +0800
commit848c54dc4713d5c29993f1c41d16cd334e18081d (patch)
tree6c977079c6f18fd2de35d2dfb0b93b1ea9ec7bcb /lib
parent380c1522ac450fdafe9bfb8e2d2f60fdfe918745 (diff)
downloaddexon-848c54dc4713d5c29993f1c41d16cd334e18081d.tar.gz
dexon-848c54dc4713d5c29993f1c41d16cd334e18081d.tar.zst
dexon-848c54dc4713d5c29993f1c41d16cd334e18081d.zip
_currentAbi object
Diffstat (limited to 'lib')
-rw-r--r--lib/contract.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/contract.js b/lib/contract.js
index 2e8ef8ce4..67fb407ad 100644
--- a/lib/contract.js
+++ b/lib/contract.js
@@ -79,6 +79,7 @@ var contract = function (address, desc) {
extra.to = address;
return abi.methodSignature(desc, method.name).then(function (signature) {
extra.data = signature.slice(0, 2 + ETH_METHOD_SIGNATURE_LENGTH * 2) + parsed;
+ web3._currentAbi = desc;
return web3.eth.transact(extra).then(onSuccess);
});
}