aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-14 21:06:29 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-14 21:06:29 +0800
commit6b2ec231323b62f5dc81c7702940d784fac98966 (patch)
treee299a7df2f8186c464ea0aed94595710af162b63 /lib
parented1cb9edca8fd74dc839377ded77e8c1ed09f648 (diff)
downloadgo-tangerine-6b2ec231323b62f5dc81c7702940d784fac98966.tar
go-tangerine-6b2ec231323b62f5dc81c7702940d784fac98966.tar.gz
go-tangerine-6b2ec231323b62f5dc81c7702940d784fac98966.tar.bz2
go-tangerine-6b2ec231323b62f5dc81c7702940d784fac98966.tar.lz
go-tangerine-6b2ec231323b62f5dc81c7702940d784fac98966.tar.xz
go-tangerine-6b2ec231323b62f5dc81c7702940d784fac98966.tar.zst
go-tangerine-6b2ec231323b62f5dc81c7702940d784fac98966.zip
formatting bool tests and fixes
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 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