Skip to content

Commit 63f7aff

Browse files
committed
remove range from second ES query
1 parent 1f6ac14 commit 63f7aff

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

libraries/plugins/elasticsearch/elasticsearch_plugin.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -566,14 +566,6 @@ vector<operation_history_object> elasticsearch_plugin::get_account_history(
566566
"query_string": {
567567
"query": "account_history.account: )" + account_id_string + range + R"("
568568
}
569-
},
570-
{
571-
"range": {
572-
"block_data.block_time": {
573-
"gte": "now-20y",
574-
"lte": "now"
575-
}
576-
}
577569
}
578570
]
579571
}

0 commit comments

Comments
 (0)