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

simplify platformvm GetHeight function #2023

Merged
merged 2 commits into from
Sep 14, 2023
Merged

simplify platformvm GetHeight function #2023

merged 2 commits into from
Sep 14, 2023

Conversation

dhrubabasu
Copy link
Contributor

Why this should be merged

We can use GetCurrentHeight on the vm directly instead of computing the height using lastAccepted.

How this works

pretty straightforward

How this was tested

CI

@dhrubabasu dhrubabasu changed the title cleanup platformvm service GetHeight function simplify platformvm GetHeight function Sep 14, 2023
@StephenButtolph StephenButtolph added this to the v1.10.10 milestone Sep 14, 2023
@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Sep 14, 2023
@StephenButtolph StephenButtolph merged commit 6fe9dd0 into dev Sep 14, 2023
16 checks passed
@StephenButtolph StephenButtolph deleted the get-height branch September 14, 2023 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants