Fix getLayoutVersion
This commit is contained in:
parent
c9a71deaa6
commit
ab7a078f92
1
shell
1
shell
|
@ -8,3 +8,4 @@ const DEX_PROGRAM_ID = lib.DEX_PROGRAM_ID;
|
|||
const decodeEventQueue = lib.decodeEventQueue;
|
||||
const decodeRequestQueue = lib.decodeRequestQueue;
|
||||
const TokenInstructions = lib.TokenInstructions;
|
||||
const getLayoutVersion = lib.getLayoutVersion;
|
||||
|
|
|
@ -5,6 +5,9 @@ export function getLayoutVersion(programId: PublicKey) {
|
|||
if (
|
||||
programId.equals(
|
||||
new PublicKey('4ckmDgGdxQoPDLUkDT3vHgSAkzA3QRdNq5ywwY4sUSJn'),
|
||||
) ||
|
||||
programId.equals(
|
||||
new PublicKey('BJ3jrUzddfuSrZHXSCxMUUQsjKEyLmuuyZebkcaFp2fg'),
|
||||
)
|
||||
) {
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue