Skip to content

Commit

Permalink
feat(solana): adds hashi tests
Browse files Browse the repository at this point in the history
  • Loading branch information
allemanfredi committed Nov 27, 2024
1 parent 4abd108 commit c222917
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/solana/tests/hashi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ describe("hashi", () => {
}

await hashi.methods
.checkHashWithThresholdFromAdapters(ADAPTER_IDS, DOMAIN, intToBytes32Buff(id), new anchor.BN(threshold))
.checkHashWithThreshold(ADAPTER_IDS, DOMAIN, intToBytes32Buff(id), new anchor.BN(threshold))
.remainingAccounts(
hashAccountsPDA.map((_hashAccountPDA) => ({
isSigner: false,
Expand Down Expand Up @@ -101,7 +101,7 @@ describe("hashi", () => {

try {
await hashi.methods
.checkHashWithThresholdFromAdapters(ADAPTER_IDS, DOMAIN, intToBytes32Buff(id), new anchor.BN(threshold))
.checkHashWithThreshold(ADAPTER_IDS, DOMAIN, intToBytes32Buff(id), new anchor.BN(threshold))
.remainingAccounts(
hashAccountsPDA.map((_hashAccountPDA) => ({
isSigner: false,
Expand Down

0 comments on commit c222917

Please sign in to comment.