Skip to content

Commit

Permalink
fix(HML-01): remove saltLen which is not required
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenportkey committed Sep 10, 2024
1 parent 2d95d94 commit 695166e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion circuits/idHashMapping.circom
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ template IdHashMapping(maxSubLen, maxSaltLen){
signal input sub[maxSubLen];
signal input subLen;
signal input salt[maxSaltLen];
signal input saltLen;
component poseidonHasher = IdHashPoseidon(maxSubLen, maxSaltLen);

poseidonHasher.sub <== sub;
Expand Down
1 change: 0 additions & 1 deletion tests/idHashMapping.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ describe("Id Hash Mapping Test", () => {
),
subLen: 21,
salt: Array.from(hexToBytes("a677999396dc49a28ad6c9c242719bb3"), (b) => b),
saltLen: 16
};
// will be packed into [13846356912322354, 85189581377597132177622858375434543549286969422497087616931493135530328064, 0,0,0,0,0,0,0]

Expand Down

0 comments on commit 695166e

Please sign in to comment.