From 37a472e4b4d4a686bad762e16bedc5c854ab7fea Mon Sep 17 00:00:00 2001 From: billettc Date: Tue, 24 Nov 2020 12:26:37 -0500 Subject: [PATCH] fix compilation issue --- programs/tokenregistry/instruction.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/tokenregistry/instruction.go b/programs/tokenregistry/instruction.go index 9b49f05..6cf8c97 100644 --- a/programs/tokenregistry/instruction.go +++ b/programs/tokenregistry/instruction.go @@ -11,7 +11,7 @@ import ( ) func init() { - solana.RegisterInstructionDecoder(PROGRAM_ID, registryDecodeInstruction) + solana.RegisterInstructionDecoder(ProgramID(), registryDecodeInstruction) } func registryDecodeInstruction(accounts []*solana.AccountMeta, rawInstruction *solana.CompiledInstruction) (interface{}, error) {