market_history plugin fix

fix get_trade_history and calls that use it(get_ticker, get_24_volume),
This commit is contained in:
oxarbitrage 2017-04-07 18:57:31 -03:00 committed by GitHub
parent 9466d2096a
commit 3d9ae3d86e

View file

@ -110,7 +110,7 @@ struct operation_process_fill_order
hkey.sequence += 200;
itr = history_idx.lower_bound( hkey );
/*
while( itr != history_idx.end() )
{
if( itr->key.base == hkey.base && itr->key.quote == hkey.quote )
@ -120,6 +120,7 @@ struct operation_process_fill_order
}
else break;
}
*/
auto max_history = _plugin.max_history();