Skip to content

Commit 822a7d5

Browse files
authored
Fix create proposals task (#231)
1 parent 0437443 commit 822a7d5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/bulk-create-proposal.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export async function run(args: any = process.argv) {
114114
const freeTasks = nextAvailableTaskIds(
115115
queue.taskBitmap,
116116
proposals.length - organization.numProposals
117-
)[0];
117+
);
118118
let freeTaskIdx = 0;
119119
const proposalConfig = argv.proposalConfig
120120
? new PublicKey(argv.proposalConfig)
@@ -126,6 +126,7 @@ export async function run(args: any = process.argv) {
126126
let i = 0;
127127
for (const proposalData of proposals) {
128128
if (i >= organization.numProposals) {
129+
console.log(`Creating proposal ${i}`);
129130
const {
130131
instruction,
131132
pubkeys: { proposal },

0 commit comments

Comments
 (0)