-
Notifications
You must be signed in to change notification settings - Fork 649
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
Fix for node crash #1480
Conversation
…d prevent execution before hf / forbid after hf
There was a problem hiding this 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.
There was a problem hiding this 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.
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) ); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good.
Fixes #1479