Skip to content

Commit 17c322a

Browse files
committed
fix issue with active proposal
1 parent 2fc698a commit 17c322a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/executive/api/fetchExecutives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function getGithubExecutives(network: SupportedNetworks): Promise<C
4747
const path = `https://raw.githubusercontent.com/${githubRepo.owner}/${
4848
githubRepo.repo
4949
}/master/${pathParts.join('/')}/${encodeURIComponent(last)}`;
50-
return parseExecutive(file.object.text, proposalIndex, path, network);
50+
return parseExecutive(file.object.text, proposalIndex, path, SupportedNetworks.MAINNET); //always use mainnet proposal index for now
5151
} catch (e) {
5252
logger.error(`getGithubExecutives: network ${network}`, e);
5353
// Catch error and return null if failed fetching one proposal

0 commit comments

Comments
 (0)