diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-21 00:46:37 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-21 00:46:37 +0800 |
commit | 848c54dc4713d5c29993f1c41d16cd334e18081d (patch) | |
tree | 6c977079c6f18fd2de35d2dfb0b93b1ea9ec7bcb /lib | |
parent | 380c1522ac450fdafe9bfb8e2d2f60fdfe918745 (diff) | |
download | dexon-848c54dc4713d5c29993f1c41d16cd334e18081d.tar.gz dexon-848c54dc4713d5c29993f1c41d16cd334e18081d.tar.zst dexon-848c54dc4713d5c29993f1c41d16cd334e18081d.zip |
_currentAbi object
Diffstat (limited to 'lib')
-rw-r--r-- | lib/contract.js | 1 |
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); }); } |