From 6b2ec231323b62f5dc81c7702940d784fac98966 Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Wed, 14 Jan 2015 14:06:29 +0100 Subject: formatting bool tests and fixes --- 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 680016377..cde725ff1 100644 --- a/lib/abi.js +++ b/lib/abi.js @@ -164,7 +164,7 @@ var setupOutputTypes = function () { /// @returns input bytes formatted to bool var formatBool = function (value) { - return value === '1' ? true : false; + return value === '0000000000000000000000000000000000000000000000000000000000000001' ? true : false; }; /// @returns input bytes formatted to ascii string -- cgit v1.2.3