aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-09 23:38:26 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-09 23:38:26 +0800
commit0933a79ab84c0a99ede790ec19ba44439aa1aff3 (patch)
tree37a412bb4f8d321550ac3d76f251572ee220c0ca /lib
parent543a87c63f77a61fb91a07515c2f6383b791a27d (diff)
downloaddexon-0933a79ab84c0a99ede790ec19ba44439aa1aff3.tar
dexon-0933a79ab84c0a99ede790ec19ba44439aa1aff3.tar.gz
dexon-0933a79ab84c0a99ede790ec19ba44439aa1aff3.tar.bz2
dexon-0933a79ab84c0a99ede790ec19ba44439aa1aff3.tar.lz
dexon-0933a79ab84c0a99ede790ec19ba44439aa1aff3.tar.xz
dexon-0933a79ab84c0a99ede790ec19ba44439aa1aff3.tar.zst
dexon-0933a79ab84c0a99ede790ec19ba44439aa1aff3.zip
missing fromAscii
Diffstat (limited to 'lib')
-rw-r--r--lib/abi.js2
1 files changed, 1 insertions, 1 deletions
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 = {