Skip to content

Commit

Permalink
fix mintto wrong auth
Browse files Browse the repository at this point in the history
  • Loading branch information
SwenSchaeferjohann committed Jan 22, 2025

Verified

This commit was signed with the committer’s verified signature.
sanjayankur31 Ankur Sinha
1 parent 9a96ab4 commit 0ed1a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/compressed-token/tests/e2e/mint-to.test.ts
Original file line number Diff line number Diff line change
@@ -109,7 +109,7 @@ describe('mintTo', () => {

/// wrong authority
await expect(
mintTo(rpc, payer, mint, bob.publicKey, payer, amount),
mintTo(rpc, payer, mint, bob.publicKey, Keypair.generate(), amount),
).rejects.toThrowError(/custom program error: 0x1782/);

/// with output state merkle tree defined

0 comments on commit 0ed1a9d

Please sign in to comment.