From 0933a79ab84c0a99ede790ec19ba44439aa1aff3 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Fri, 9 Jan 2015 16:38:26 +0100 Subject: missing fromAscii --- lib/abi.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/abi.js') diff --git a/lib/abi.js b/lib/abi.js index 80cc0d551..99d2ba932 100644 --- a/lib/abi.js +++ b/lib/abi.js @@ -267,7 +267,7 @@ var methodSignature = function (json, name) { result += inputTypes.join(','); result += ')'; - return web3.sha3(result); + return web3.sha3(web3.fromAscii(result)); }; module.exports = { -- cgit v1.2.3