Skip to content

Commit

Permalink
Fix flitering
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Apr 16, 2023
1 parent f23e1f2 commit f413112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/createProgramUpgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const createProgramUpgrade = async ({
)
const programs = await program.account.managedProgram.all()
const programIndex = programs.find(
p => p.account.programAddress.toString() === programId.toString()
p => p.account.programAddress.toString() === programId.toString() && p.account.multisig.toString() === multisig.toString()
)?.account.managedProgramIndex

if (typeof programIndex === undefined) {
Expand Down

0 comments on commit f413112

Please sign in to comment.