mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 15:05:49 +00:00
fixed tarantool/tendermint status management
Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
This commit is contained in:
parent
8ea911ba64
commit
f85af010ea
@ -179,7 +179,7 @@ def get_latest_block(connection): # TODO Here is used DESCENDING OPERATOR
|
|||||||
space = connection.space("blocks_tx")
|
space = connection.space("blocks_tx")
|
||||||
_txids = space.select(_block[2], index="block_search")
|
_txids = space.select(_block[2], index="block_search")
|
||||||
_txids = _txids.data
|
_txids = _txids.data
|
||||||
return {"app_hash": _block[1], "height": _block[1], "transactions": [tx[0] for tx in _txids]}
|
return {"app_hash": _block[0], "height": _block[1], "transactions": [tx[0] for tx in _txids]}
|
||||||
|
|
||||||
|
|
||||||
@register_query(TarantoolDB)
|
@register_query(TarantoolDB)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user