[xc-admin] fix instructions indexes (#468)

* Fix bug

* Remove console

* Revert change
This commit is contained in:
guibescos 2023-01-10 08:32:36 -06:00 committed by GitHub
parent 627edaa62a
commit 3d8638ab3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ export async function proposeInstructions(
vault, vault,
newProposalAddress, newProposalAddress,
squadIx.instruction, squadIx.instruction,
i, i + 1,
squadIx.authorityIndex, squadIx.authorityIndex,
squadIx.authorityBump, squadIx.authorityBump,
squadIx.authorityType squadIx.authorityType
@ -86,7 +86,7 @@ export async function proposeInstructions(
vault, vault,
newProposalAddress, newProposalAddress,
instructions[i], instructions[i],
i i + 1
) )
) )
); );