order by file

This commit is contained in:
Lex Berezhny 2020-06-26 23:35:11 -04:00
parent 4b19861a74
commit 017ef5b41a

View file

@ -107,6 +107,7 @@ class BlockchainDB:
MAX(height) as best_height
FROM block_info
WHERE status&1 AND status&4
ORDER BY file
"""
args = ()
if file_number is not None and start_height is not None: