From 3d9ae3d86e747fea37b1473086f97dd8202e1642 Mon Sep 17 00:00:00 2001 From: oxarbitrage Date: Fri, 7 Apr 2017 18:57:31 -0300 Subject: [PATCH] market_history plugin fix fix get_trade_history and calls that use it(get_ticker, get_24_volume), --- libraries/plugins/market_history/market_history_plugin.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/plugins/market_history/market_history_plugin.cpp b/libraries/plugins/market_history/market_history_plugin.cpp index 28cbb7c7..6ec38968 100644 --- a/libraries/plugins/market_history/market_history_plugin.cpp +++ b/libraries/plugins/market_history/market_history_plugin.cpp @@ -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();