Skip to content

Only return SUCCESSFULLY_UPDATED_AGGREGATE if upd_twap was called [bug fix] #202

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

Merged
merged 1 commit into from
Jul 22, 2022

Conversation

majabbour
Copy link
Contributor

In an earlier PR we made upd_price in C return SUCCESSFULLY_UPDATED_AGGREGATE when upd_aggregate is called. It turns out, update_aggregate sometimes returns early, this PR makes upd_aggregate return a bool depending on whether the aggregate was updated

@majabbour majabbour requested review from guibescos and tompntn July 22, 2022 00:19
@majabbour majabbour force-pushed the fix-update-successfully-updated-aggregate-bug branch from 109997f to 530c514 Compare July 22, 2022 17:45
@guibescos guibescos merged commit 1428082 into main Jul 22, 2022
@guibescos guibescos deleted the fix-update-successfully-updated-aggregate-bug branch July 22, 2022 18:27
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