Merge pull request #687 from zcash/686_no-such-column
get_transparent_balances fails with `no such column`
This commit is contained in:
commit
0da4d27824
|
@ -1016,7 +1016,7 @@ pub(crate) fn get_transparent_balances<P: consensus::Parameters>(
|
|||
FROM utxos u
|
||||
LEFT OUTER JOIN transactions tx
|
||||
ON tx.id_tx = u.spent_in_tx
|
||||
WHERE u.received_by_accountt = ?
|
||||
WHERE u.received_by_account = ?
|
||||
AND u.height <= ?
|
||||
AND tx.block IS NULL",
|
||||
)?;
|
||||
|
|
Loading…
Reference in New Issue