Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 195ceba

Browse files
committed
single-pool-js: fix indicies
1 parent 253d520 commit 195ceba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

single-pool/js/src/internal.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,19 @@ export const SINGLE_POOL_INSTRUCTION_LAYOUTS: {
5757
layout: BufferLayout.struct<any>([BufferLayout.u8('instruction')]),
5858
},
5959
DepositStake: {
60-
index: 1,
60+
index: 2,
6161
layout: BufferLayout.struct<any>([BufferLayout.u8('instruction')]),
6262
},
6363
WithdrawStake: {
64-
index: 2,
64+
index: 3,
6565
layout: BufferLayout.struct<any>([
6666
BufferLayout.u8('instruction'),
6767
BufferLayout.seq(BufferLayout.u8(), 32, 'userStakeAuthority'),
6868
BufferLayout.ns64('tokenAmount'),
6969
]),
7070
},
7171
CreateTokenMetadata: {
72-
index: 3,
72+
index: 4,
7373
layout: BufferLayout.struct<any>([BufferLayout.u8('instruction')]),
7474
},
7575
});
@@ -92,7 +92,7 @@ export function updateTokenMetadataLayout(
9292
}
9393

9494
return {
95-
index: 4,
95+
index: 5,
9696
layout: BufferLayout.struct<any>([
9797
BufferLayout.u8('instruction'),
9898
BufferLayout.u32('tokenNameLen'),

0 commit comments

Comments
 (0)