remove debug logs

This commit is contained in:
Daniel Larimer 2015-06-19 15:58:50 -04:00
parent decd0fd55e
commit 3d29b29e50
2 changed files with 1 additions and 2 deletions

View file

@ -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() )
{
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() );
return true;
}

View file

@ -247,7 +247,6 @@ BOOST_AUTO_TEST_CASE( black_swan )
auto order = create_sell_order( borrower2, bitusd.amount(1000), core.amount(3000) );
FC_ASSERT( bitusd.bitasset_data(db).has_settlement() );
wdump(( bitusd.bitasset_data(db) ));
force_settle( borrower, bitusd.amount(100) );