Prevent change from being returned in transaction queries

This commit is contained in:
Kevin Gorham 2019-02-23 17:01:02 -05:00
parent 0ed5731ff4
commit 3efc91806a
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ interface TransactionDao {
ON transactions.id_tx = received_notes.tx
LEFT JOIN blocks
ON transactions.block = blocks.height
WHERE received_notes.is_change != 1 or transactions.raw IS NOT NULL
ORDER BY block IS NOT NUll, height DESC, time DESC, txId DESC
""")
fun getAll(): List<WalletTransaction>