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
|
FROM utxos u
|
||||||
LEFT OUTER JOIN transactions tx
|
LEFT OUTER JOIN transactions tx
|
||||||
ON tx.id_tx = u.spent_in_tx
|
ON tx.id_tx = u.spent_in_tx
|
||||||
WHERE u.received_by_accountt = ?
|
WHERE u.received_by_account = ?
|
||||||
AND u.height <= ?
|
AND u.height <= ?
|
||||||
AND tx.block IS NULL",
|
AND tx.block IS NULL",
|
||||||
)?;
|
)?;
|
||||||
|
|
Loading…
Reference in New Issue