Skip to content

Commit

Permalink
add direct call of funct in util page (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggnine-jito authored Jan 8, 2024
1 parent 37d8917 commit 501a878
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/governance-notifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export function errorWrapper() {

export async function runNotifier() {
const REALM = 'Jito'
console.log("starting governance notifier")
const connectionContext = getConnectionContext('mainnet')
const realmInfo = await getCertifiedRealmInfo(REALM, connectionContext)

Expand Down Expand Up @@ -203,3 +204,5 @@ export async function runNotifier() {
`-- countOpenForVotingSinceSomeTime: ${countOpenForVotingSinceSomeTime}, countJustOpenedForVoting: ${countJustOpenedForVoting}, countVotingNotStartedYet: ${countVotingNotStartedYet}, countClosed: ${countClosed}, countCancelled: ${countCancelled}`
)
}

errorWrapper()

0 comments on commit 501a878

Please sign in to comment.