Merge pull request #255 from oxarbitrage/patch-4

market_history plugin fix
This commit is contained in:
Fabian Schuh 2017-04-10 13:43:13 +02:00 committed by GitHub
commit 01f5a4e1c9

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();