Skip to content

Commit

Permalink
fix discord bot (solana-labs#1998)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrzezinski94 authored Dec 21, 2023
1 parent e48e60e commit e162fb1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/governance-notifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ async function runNotifier() {
votingTokenDecimals
)

const minVotesNeeded = 100000000
const minVotesNeeded =
proposal.account.governance.toBase58() ===
'7D6tGmaMyC8i73Q8X2Fec2S1Zb5rkyai6pctdMqHpHWT'
? 50000000
: 100000000
const quorumReached = yesVotes >= minVotesNeeded
const isSuccess = yesVotes > noVotes && quorumReached

Expand Down

0 comments on commit e162fb1

Please sign in to comment.