mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 06:55:45 +00:00
removed transaction_object initialization (dict)
This commit is contained in:
parent
f1b333dc72
commit
60f36183da
@ -191,8 +191,6 @@ def store_block(block: dict, connection):
|
|||||||
|
|
||||||
@register_query(LocalMongoDBConnection)
|
@register_query(LocalMongoDBConnection)
|
||||||
def get_txids_filtered(connection, asset_id, operation=None, last_tx=None): # TODO here is used 'OR' operator
|
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 = {
|
actions = {
|
||||||
"CREATE": {"sets": ["CREATE", asset_id], "index": "transaction_search"},
|
"CREATE": {"sets": ["CREATE", asset_id], "index": "transaction_search"},
|
||||||
# 1 - operation, 2 - id (only in transactions) +
|
# 1 - operation, 2 - id (only in transactions) +
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user