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

Fix race conditions in accessing election confirmation counters #4564

Conversation

dsiganos
Copy link
Contributor

No description provided.

@dsiganos dsiganos added unit test Related to a new, changed or fixed unit test exclude from changelog Indicates the change is not relevant for appearing in the release changelog labels Apr 14, 2024
clemahieu
clemahieu previously approved these changes Apr 14, 2024
pwojcikdev
pwojcikdev previously approved these changes Apr 15, 2024
The stats counters are updated in a callback called after the block
has been confirmed.
The counters are incremented in a callback after confirmation happens,
so the tests need to wait for the counters to be updated.
@dsiganos dsiganos dismissed stale reviews from pwojcikdev and clemahieu via 732e2e5 April 16, 2024 09:15
@dsiganos dsiganos force-pushed the fix_active_transactions_activate_inactive branch from a1bee12 to 732e2e5 Compare April 16, 2024 09:15
@dsiganos dsiganos merged commit 9be56a6 into nanocurrency:develop Apr 16, 2024
23 of 26 checks passed
@dsiganos dsiganos deleted the fix_active_transactions_activate_inactive branch April 16, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from changelog Indicates the change is not relevant for appearing in the release changelog unit test Related to a new, changed or fixed unit test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants