Skip to content

Commit

Permalink
Merge pull request #99 from zCloak-Network/bugfix-batch-encrypt
Browse files Browse the repository at this point in the history
Bugfix batch encrypt
  • Loading branch information
whgreate authored Nov 24, 2023
2 parents 7c163d8 + 8ba3afc commit 8ea0cb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/strong-avocados-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zcloak/message": patch
---

fix batch encrypt param
2 changes: 1 addition & 1 deletion packages/message/src/encrypt/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export async function batchEncryptMessage(
};
});

const results = await sender.batchEncrypt(messages, sender.id, resolver);
const results = await sender.batchEncrypt(messages, undefined, resolver);

return results.map((result, index) => {
const ctype = getCtype('Send_issuedVC', data[index]);
Expand Down

0 comments on commit 8ea0cb7

Please sign in to comment.