Skip to content

Commit

Permalink
fix: remove address transactions fast page (#1707)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz authored Mar 28, 2024
1 parent b7217a5 commit 7ea1ed4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/interactions/addresses/ckb_transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ def execute
records = CkbTransaction.includes(:account_books).where(
account_books: { address_id: },
ckb_transactions: { tx_status: "committed" },
).select(select_fields).
order(order_by => asc_or_desc).
page(page).per(page_size).fast_page
).order(order_by => asc_or_desc).
page(page).per(page_size)

options = paginate_options(records, address_id)
options.merge!(params: { previews: true, address: })
Expand Down

0 comments on commit 7ea1ed4

Please sign in to comment.