From 60f36183da67cc70184ebb5256f5208b1af371a1 Mon Sep 17 00:00:00 2001 From: andrei Date: Mon, 14 Feb 2022 13:18:41 +0200 Subject: [PATCH] removed transaction_object initialization (dict) --- planetmint/backend/tarantool/query.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/planetmint/backend/tarantool/query.py b/planetmint/backend/tarantool/query.py index b5c85c3..d088809 100644 --- a/planetmint/backend/tarantool/query.py +++ b/planetmint/backend/tarantool/query.py @@ -191,8 +191,6 @@ def store_block(block: dict, connection): @register_query(LocalMongoDBConnection) def get_txids_filtered(connection, asset_id, operation=None, last_tx=None): # TODO here is used 'OR' operator - _transaction_object = {"inputs": [], "outputs": [], "operation": "", "version": "", "id": ""} - actions = { "CREATE": {"sets": ["CREATE", asset_id], "index": "transaction_search"}, # 1 - operation, 2 - id (only in transactions) +