Skip to content

Commit

Permalink
Fix set dc onboarding script
Browse files Browse the repository at this point in the history
  • Loading branch information
ChewingGlass committed Aug 5, 2024
1 parent 6eb3edc commit a3fb6cd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/helium-admin-cli/src/set-dc-onboarding-fees-paid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export async function run(args: any = process.argv) {

const dntMint = new PublicKey(argv.dntMint);
const subDaoK = subDaoKey(dntMint)[0];
const subDaoAcc = await hsdProgram.account.subDaoV0.fetch(subDaoK);

instructions.push(
await hsdProgram.methods
Expand All @@ -67,6 +68,7 @@ export async function run(args: any = process.argv) {
})
.accounts({
subDao: subDaoK,
authority: subDaoAcc.authority,
})
.instruction()
);
Expand Down

0 comments on commit a3fb6cd

Please sign in to comment.