Skip to content

Commit

Permalink
fix: fix conversion of bigint
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Jun 27, 2024
1 parent b5d649a commit 677ca57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sdk/reencrypt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const reencryptRequest =
signature: signature.replace(/^(0x)/, ''),
user_address: userAddress.replace(/^(0x)/, ''),
enc_key: publicKey.replace(/^(0x)/, ''),
ciphertext_handle: toHexString(bigIntToBytes(handle)),
ciphertext_handle: handle.toString(16),
eip712_verifying_contract: contractAddress,
};
const options = {
Expand Down

0 comments on commit 677ca57

Please sign in to comment.