get_transparent_balances fails with `no such column`
Error message: "Error while fetching transparent balances for AccountId(0): no such column: u.received_by_accountt" Closes #686
This commit is contained in:
parent
4964ca7b92
commit
60c153930d
|
@ -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