formatting bool tests and fixes
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user