diff --git a/src/data_source/storage/sql/queries/explorer.rs b/src/data_source/storage/sql/queries/explorer.rs index 8a5908ba7..4eb5e62f6 100644 --- a/src/data_source/storage/sql/queries/explorer.rs +++ b/src/data_source/storage/sql/queries/explorer.rs @@ -521,7 +521,7 @@ where let search_query_string = search_query.to_string(); - if search_tag != header_tag && search_tag != tx_tag { + if search_tag != header_tag || search_tag != tx_tag { return Err(GetSearchResultsError::InvalidQuery(errors::BadQuery {})); }