This commit is contained in:
Lex Berezhny 2019-05-09 17:56:08 -04:00
parent 874b3faf8c
commit fb2d7cbe28

View file

@ -445,7 +445,8 @@ class BaseDatabase(SQLiteMixin):
if 'order_by' not in constraints: if 'order_by' not in constraints:
constraints['order_by'] = ["tx.height=0 DESC", "tx.height DESC", "tx.position DESC"] constraints['order_by'] = ["tx.height=0 DESC", "tx.height DESC", "tx.position DESC"]
rows = await self.select_txos( rows = await self.select_txos(
"tx.txid, raw, tx.height, tx.position, tx.is_verified, txo.position, chain, account", **constraints "tx.txid, raw, tx.height, tx.position, tx.is_verified, txo.position, chain, account",
**constraints
) )
txos = [] txos = []
txs = {} txs = {}