From b1700f4f5edeb6d6121ef0021d237304e9cee39c Mon Sep 17 00:00:00 2001 From: 1000101 Date: Mon, 1 Apr 2024 13:56:47 +0200 Subject: [PATCH] chore(sql): remove leftover left join --- src/sql/pools/pools_pool_id.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/src/sql/pools/pools_pool_id.sql b/src/sql/pools/pools_pool_id.sql index 235e7aca..6b48b92f 100644 --- a/src/sql/pools/pools_pool_id.sql +++ b/src/sql/pools/pools_pool_id.sql @@ -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