Skip to content

Commit

Permalink
go
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Sep 18, 2024
1 parent eb33382 commit 7fba82e
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ export function resolveAccountNames(
return { named, remaining };
}

export const IDL_SET_BUFFER_DISCRIMINATOR = Buffer.from("40f4bc78a7e9690a03");
export const IDL_SET_BUFFER_DISCRIMINATOR = Buffer.from(
"40f4bc78a7e9690a03",
"hex"
);

async function getIdlAddress(programId: PublicKey): Promise<PublicKey> {
const programSigner = PublicKey.findProgramAddressSync([], programId)[0];
Expand Down

0 comments on commit 7fba82e

Please sign in to comment.