From 848c54dc4713d5c29993f1c41d16cd334e18081d Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 20 Jan 2015 17:46:37 +0100 Subject: [PATCH] _currentAbi object --- lib/contract.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/contract.js b/lib/contract.js index 2e8ef8ce42..67fb407ad9 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); }); }