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

lib/runtime: implement ext_is_validator #1100

Merged
merged 5 commits into from
Sep 18, 2020
Merged

Conversation

edwardmack
Copy link
Member

@edwardmack edwardmack commented Sep 15, 2020

Changes

  • Implement ext_is_validator function, returns 1 if node's role is 4, returns 0 otherwise.

Tests

go test ./lib/runtime/...

Checklist

  • I have read CODE_OF_CONDUCT and CONTRIBUTING
  • I have provided as much information as possible and necessary
  • I have reviewed my own pull request before requesting a review
  • All integration tests and required coverage checks are passing

Issues

@edwardmack edwardmack self-assigned this Sep 15, 2020
lib/runtime/runtime.go Outdated Show resolved Hide resolved
lib/runtime/runtime.go Outdated Show resolved Hide resolved
@edwardmack edwardmack merged commit d64a562 into development Sep 18, 2020
@edwardmack edwardmack deleted the ed/ext_functions_v06 branch September 18, 2020 14:45
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