Skip to content

Commit

Permalink
zcash_client_sqlite: Fix column name in UTXO query
Browse files Browse the repository at this point in the history
Closes #1326.
  • Loading branch information
str4d committed Mar 27, 2024
1 parent 020305f commit 5462f84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zcash_client_sqlite/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2116,7 +2116,7 @@ pub(crate) fn get_unspent_transparent_output(
WHERE u.prevout_txid = :txid
AND u.prevout_idx = :output_index
AND u.id NOT IN (
SELECT txo_spends.id
SELECT txo_spends.transparent_received_output_id
FROM transparent_received_output_spends txo_spends
JOIN transactions tx ON tx.id_tx = txo_spends.transaction_id
WHERE tx.block IS NOT NULL -- the spending tx is mined
Expand Down

0 comments on commit 5462f84

Please sign in to comment.