Skip to content

Commit

Permalink
fix blockhash in read query
Browse files Browse the repository at this point in the history
  • Loading branch information
grooviegermanikus committed Jul 2, 2024
1 parent 6a88515 commit 656e6c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blockstore/src/block_stores/postgres/postgres_transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ impl PostgresTransaction {
cu_requested,
prioritization_fees,
err,
recent_blockhash,
bh_ids.blockhash recent_blockhash,
message_version,
message, -- TODO remove
--writable_accounts,
Expand All @@ -372,6 +372,7 @@ impl PostgresTransaction {
-- model_transaction_blockdata
FROM {schema}.transaction_blockdata
INNER JOIN {schema}.transaction_ids tx_ids USING(transaction_id)
INNER JOIN {schema}.blockhash_ids bh_ids ON bh_ids.blockhash_id=recent_blockhash
WHERE slot = {}
"#,
slot,
Expand Down

0 comments on commit 656e6c4

Please sign in to comment.