diff --git a/lbry/blockchain/database.py b/lbry/blockchain/database.py index f18c6ef13..f73be6b3e 100644 --- a/lbry/blockchain/database.py +++ b/lbry/blockchain/database.py @@ -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: