Skip to content

Commit

Permalink
Merge pull request #113 from zama-ai/release05patch
Browse files Browse the repository at this point in the history
Release05patch
  • Loading branch information
jatZama authored Oct 21, 2024
2 parents a070b4a + f227a85 commit d26053f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fhevmjs",
"version": "0.5.6",
"version": "0.5.7",
"description": "fhEVM SDK for blockchain using TFHE",
"main": "lib/node.js",
"types": "lib/node/node.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/sdk/reencrypt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const reencryptRequest =
if (!gatewayUrl) throw new Error('You must provide a reencryption URL.');
if (!aclAddress) throw new Error('You must provide the ACL address.');
const provider = new ethers.JsonRpcProvider(networkUrl);
const acl = new ethers.Contract(contractAddress, aclABI, provider);
const acl = new ethers.Contract(aclAddress, aclABI, provider);
const userAllowed = await acl.persistAllowed(handle, userAddress);
const contractAllowed = await acl.persistAllowed(handle, contractAddress);
const isAllowed = userAllowed && contractAllowed;
Expand Down

0 comments on commit d26053f

Please sign in to comment.