Merge pull request #687 from zcash/686_no-such-column

get_transparent_balances fails with `no such column`
This commit is contained in:
Francisco Gindre 2022-10-26 19:46:44 -03:00 committed by GitHub
commit 0da4d27824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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",
)?;