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 for node crash #1480

Merged
merged 10 commits into from Dec 21, 2018
Merged

Fix for node crash #1480

merged 10 commits into from Dec 21, 2018

Conversation

pmconrad
Copy link
Contributor

Fixes #1479

oxarbitrage
oxarbitrage previously approved these changes Dec 21, 2018
Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

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

as blocks with issues were passed in @pmconrad tests and snapshot comparison is the same i will go with this patch.

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.

Need code to force a replay, otherwise it's still possible to crash.

libraries/chain/proposal_evaluator.cpp Outdated Show resolved Hide resolved
top.to = GRAPHENE_RELAXED_COMMITTEE_ACCOUNT;
top.amount = asset( GRAPHENE_MAX_SHARE_SUPPLY );
proposal.proposed_transaction.operations.emplace_back( top );
ilog( "Issue 1479: ${p}", ("p",proposal) );
Copy link
Member

Choose a reason for hiding this comment

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

Log before adding the transfer to the proposal? I think wlog is better.

libraries/chain/proposal_evaluator.cpp Show resolved Hide resolved
Copy link
Member

@oxarbitrage oxarbitrage left a comment

Choose a reason for hiding this comment

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

looks good.

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.

None yet

3 participants