From 7fba82eaf7ce4579cddfa729a40fdd4ce32737ba Mon Sep 17 00:00:00 2001 From: Guillermo Bescos Date: Wed, 18 Sep 2024 23:05:37 +0100 Subject: [PATCH] go --- .../xc_admin_common/src/multisig_transaction/anchor.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/governance/xc_admin/packages/xc_admin_common/src/multisig_transaction/anchor.ts b/governance/xc_admin/packages/xc_admin_common/src/multisig_transaction/anchor.ts index e32fc2d8c..b33beb021 100644 --- a/governance/xc_admin/packages/xc_admin_common/src/multisig_transaction/anchor.ts +++ b/governance/xc_admin/packages/xc_admin_common/src/multisig_transaction/anchor.ts @@ -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 { const programSigner = PublicKey.findProgramAddressSync([], programId)[0];