Commit 848c54dc authored by Marek Kotewicz's avatar Marek Kotewicz

_currentAbi object

parent 380c1522
......@@ -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);
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment