Skip to content

Commit

Permalink
Merge pull request #172 from blockfrost/1000101/2404/mirs_leftover_join
Browse files Browse the repository at this point in the history
chore(sql): remove leftover left join
  • Loading branch information
1000101 committed Apr 1, 2024
2 parents 83788a2 + b1700f4 commit fa37c7c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/sql/pools/pools_pool_id.sql
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ live_stake_accounts_rewards AS (
) AS "amount_rewards_pool"
FROM live_stake_accounts lsa
JOIN reward r ON (lsa.stake_address_id = r.addr_id)
LEFT JOIN instant_reward ir ON (lsa.stake_address_id = ir.addr_id)
WHERE r.spendable_epoch <= (
SELECT epoch_no
FROM current_epoch
Expand Down

0 comments on commit fa37c7c

Please sign in to comment.