Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

program: include usdc oracle #397

Merged
merged 24 commits into from
Mar 28, 2023
Merged

program: include usdc oracle #397

merged 24 commits into from
Mar 28, 2023

Conversation

crispheaney
Copy link
Member

No description provided.

@@ -42,8 +42,16 @@ impl<'a> OracleMap<'a> {
.clone())
}

fn should_get_quote_asset_price_data(&self, pubkey: &Pubkey) -> bool {
#[cfg(feature = "mainnet-beta")]
return (self.slot < 185740418 && pubkey == &usdc_oracle::id())
Copy link
Member

@0xbigz 0xbigz Mar 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what are you going to set this too? would be nice to have a comment here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was just going to look at the current slot and add a weeks worth of time

@crispheaney crispheaney merged commit 5c256f2 into master Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants