Skip to content

Commit 3d8638a

Browse files
authored
[xc-admin] fix instructions indexes (#468)
* Fix bug * Remove console * Revert change
1 parent 627edaa commit 3d8638a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xc-admin/packages/xc-admin-common/src/propose.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export async function proposeInstructions(
7070
vault,
7171
newProposalAddress,
7272
squadIx.instruction,
73-
i,
73+
i + 1,
7474
squadIx.authorityIndex,
7575
squadIx.authorityBump,
7676
squadIx.authorityType
@@ -86,7 +86,7 @@ export async function proposeInstructions(
8686
vault,
8787
newProposalAddress,
8888
instructions[i],
89-
i
89+
i + 1
9090
)
9191
)
9292
);

0 commit comments

Comments
 (0)