mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-24 14:35:45 +00:00
tendermint/test_core.py all passing
This commit is contained in:
parent
8966a7b3a9
commit
08c130492e
@ -379,7 +379,7 @@ def store_pre_commit_state(connection, state: dict):
|
||||
@register_query(TarantoolDB)
|
||||
def get_pre_commit_state(connection):
|
||||
space = connection.space("pre_commits")
|
||||
_commit = space.select([], index="id_search", limit=1).data
|
||||
_commit = space.select([], index="id_search").data
|
||||
if len(_commit) == 0:
|
||||
return None
|
||||
_commit = sorted(_commit, key=itemgetter(1), reverse=True)[0]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user