remove debug logs
This commit is contained in:
parent
decd0fd55e
commit
3d29b29e50
2 changed files with 1 additions and 2 deletions
|
|
@ -405,7 +405,7 @@ bool database::check_call_orders( const asset_object& mia, bool enable_black_swa
|
||||||
if( usd_to_buy * match_price > call_itr->get_collateral() )
|
if( usd_to_buy * match_price > call_itr->get_collateral() )
|
||||||
{
|
{
|
||||||
FC_ASSERT( enable_black_swan );
|
FC_ASSERT( enable_black_swan );
|
||||||
elog( "black swan, we do not have enough collateral to cover at this price" );
|
//elog( "black swan, we do not have enough collateral to cover at this price" );
|
||||||
globally_settle_asset( mia, call_itr->get_debt() / call_itr->get_collateral() );
|
globally_settle_asset( mia, call_itr->get_debt() / call_itr->get_collateral() );
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -247,7 +247,6 @@ BOOST_AUTO_TEST_CASE( black_swan )
|
||||||
auto order = create_sell_order( borrower2, bitusd.amount(1000), core.amount(3000) );
|
auto order = create_sell_order( borrower2, bitusd.amount(1000), core.amount(3000) );
|
||||||
|
|
||||||
FC_ASSERT( bitusd.bitasset_data(db).has_settlement() );
|
FC_ASSERT( bitusd.bitasset_data(db).has_settlement() );
|
||||||
wdump(( bitusd.bitasset_data(db) ));
|
|
||||||
|
|
||||||
force_settle( borrower, bitusd.amount(100) );
|
force_settle( borrower, bitusd.amount(100) );
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue