Skip to content

Commit

Permalink
chore(sql): remove leftover left join
Browse files Browse the repository at this point in the history
  • Loading branch information
1000101 committed Apr 1, 2024
1 parent 83788a2 commit b1700f4
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 b1700f4

Please sign in to comment.