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

Issue491: Minor delta_debt amount check issue in call_order_update_evaluator #609

Merged
merged 5 commits into from
Feb 2, 2018

Conversation

oxarbitrage
Copy link
Member

@@ -189,6 +175,7 @@ void_result call_order_update_evaluator::do_apply(const call_order_update_operat
{
d.modify(_paying_account->statistics(d), [&](account_statistics_object& stats) {
stats.total_core_in_orders += o.delta_collateral.amount;
assert(dynamic_asset.current_supply <= 0);
Copy link
Member

Choose a reason for hiding this comment

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

This is apparently wrong.
By the way don't use assert(), see #511

@oxarbitrage
Copy link
Member Author

i re added the delta_collateral assert back as i am not sure if it is safe to remove.

@abitmore
Copy link
Member

abitmore commented Feb 2, 2018

Perhaps better rebase/squash the commits.

@oxarbitrage
Copy link
Member Author

it can be done at merge time(the squash) into 1 commit if you approve the changes.

@abitmore abitmore added this to the Next Non-Consensus-Changing Release milestone Feb 2, 2018
@oxarbitrage oxarbitrage merged commit c2d28be into bitshares:develop Feb 2, 2018
@abitmore abitmore changed the title Issue491 Issue491: Minor delta_debt amount check issue in call_order_update_evaluator Mar 2, 2018
@oxarbitrage oxarbitrage deleted the issue491_2 branch December 19, 2018 20:18
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.

2 participants