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

NeoToken RegisterCandidate not emitting CandidateStateChanged event #2778

Closed
kokahunter opened this issue Jun 23, 2022 · 0 comments · Fixed by #2779
Closed

NeoToken RegisterCandidate not emitting CandidateStateChanged event #2778

kokahunter opened this issue Jun 23, 2022 · 0 comments · Fixed by #2779

Comments

@kokahunter
Copy link

Describe the bug
NeoToken will never emit the CandidateStateChanged event when new candidates register.

CandidateState class is initialized with Registered = true
image

RegisterCandidate method is checking whether candidate is already registered and never emitting the notification:
image

To Reproduce
For reference see blocks 4377, 4386, 4388

Expected behavior
Notification should be emitted for RegisterCandidate

Platform:

  • neo v3.3.1 release
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 a pull request may close this issue.

1 participant