Skip to content

Commit

Permalink
Merge pull request #59 from cowprotocol/zero_fee_quote_rewards
Browse files Browse the repository at this point in the history
Remove restriction on quote rewards for limit orders
  • Loading branch information
harisang authored Jan 5, 2024
2 parents 30655d6 + 17b52ab commit e592330
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sql/orderbook/order_rewards.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ with trade_hashes as (SELECT settlement.solver,
FROM trades t
INNER JOIN orders o ON order_uid = uid
JOIN order_quotes oq ON t.order_uid = oq.order_uid
WHERE o.class = 'market'
AND block_number > {{start_block}}
WHERE block_number > {{start_block}}
AND block_number <= {{end_block}}
AND oq.solver != '\x0000000000000000000000000000000000000000')

Expand Down

0 comments on commit e592330

Please sign in to comment.