zkjson 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -271,7 +271,7 @@ contract ZKQuery {
271
271
  }
272
272
 
273
273
  function _qFloat (uint[] memory value) internal pure returns (uint[3] memory) {
274
- require(value[0] == 2 && value[2] == 1, "not float");
274
+ require(value[0] == 2 && value[2] != 0, "not float");
275
275
  uint[3] memory float;
276
276
  float[0] = value[1];
277
277
  float[1] = value[2];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zkjson",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Zero Knowledge Provable JSON",
5
5
  "main": "index.js",
6
6
  "license": "MIT",