formatting bool tests and fixes

This commit is contained in:
Marek Kotewicz
2015-01-14 14:06:29 +01:00
parent ed1cb9edca
commit 6b2ec23132
5 changed files with 114 additions and 64 deletions

View File

@ -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