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

chore(pricefeed): Return err in case of zero time period #770

Merged
merged 11 commits into from
Aug 9, 2022

Conversation

john-connor84
Copy link
Contributor

No description provided.

@AgentSmithMatrix
Copy link
Contributor

Where is this coming from? Can we relate it with some issue?

@john-connor84
Copy link
Contributor Author

Where is this coming from? Can we relate it with some issue?
Coming from the this PR:
https://github.com/NibiruChain/nibiru/pull/745/files#r933707209

x/pricefeed/keeper/keeper.go Outdated Show resolved Hide resolved
@Unique-Divine Unique-Divine marked this pull request as draft August 3, 2022 23:53
@Unique-Divine Unique-Divine requested review from Unique-Divine and removed request for Unique-Divine August 9, 2022 07:14
…apshots on func. If zero time has elapsed, and snapshots exists, return the instantaneous average.
@Unique-Divine Unique-Divine marked this pull request as ready for review August 9, 2022 09:30
@Unique-Divine Unique-Divine merged commit 5b2f6a4 into master Aug 9, 2022
@Unique-Divine Unique-Divine deleted the jc/priceErr branch August 9, 2022 09:40
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.

4 participants