Skip to content

Commit

Permalink
fix: improve pending block operation filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
DenSmolonski committed Jul 1, 2024
1 parent 5ec4261 commit 1640b65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/explorer/lib/explorer/chain.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1951,8 +1951,7 @@ defmodule Explorer.Chain do
from(
po in PendingBlockOperation,
# temp test
where: not is_nil(po.block_number) and po.block_number > 55_000_000,
# where: not is_nil(po.block_number) and po.block_number < 13800000 or po.block_number > 28000000, # temp solution avoid spamming blocks
where: not is_nil(po.block_number) and po.block_number < 13800000 or po.block_number > 28000000, # temp solution avoid spamming blocks
select: po.block_number,
order_by: [desc: po.block_number]
)
Expand Down

0 comments on commit 1640b65

Please sign in to comment.