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

Unit test + log message related to issue #338 #341

Closed
wants to merge 8 commits into from
2 changes: 2 additions & 0 deletions libraries/chain/db_market.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,8 @@ bool database::check_call_orders(const asset_object& mia, bool enable_black_swan
order_pays = usd_to_buy;

filled_call = true;
if( filled_limit )
wlog( "Multiple limit match problem (issue 338) occurred at block #${block}", ("block",head_block_num()) );
}

FC_ASSERT( filled_call || filled_limit );
Expand Down
Loading