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 : Segmentation fault when running several witness nodes on the same machine #1286

Merged
merged 2 commits into from
Aug 29, 2018

Conversation

OpenLedgerDev
Copy link

#377
There is a case when a value of undo_db.size() is greater then head_block_num(), and as result we get a wrong value for last_non_undoable_block_num. To resolve it we should take into account a number of active_sessions in calculations of last_non_undoable_block_num (active sessions are related to a new block which is under generation).

Copy link
Member

@abitmore abitmore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Looks good to me.

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.

3 participants