Skip to content

Commit

Permalink
fix: address transactions (#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz authored Dec 10, 2024
1 parent 75c4fcc commit 7c98d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/interactions/addresses/ckb_transactions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def execute
account_books = AccountBook.where(address_id:).order("ckb_transaction_id desc").select(:ckb_transaction_id).distinct.limit(5000)
records = CkbTransaction.where(tx_status: :committed, id: account_books.map(&:ckb_transaction_id)).order(transactions_ordering).page(page).per(page_size)
options = paginate_options(records, address_id)
options.merge!(params: { previews: true, address: })
options.merge!(params: { previews: false, address: })

result = CkbTransactionsSerializer.new(records, options)
wrap_result(result, address)
Expand Down

0 comments on commit 7c98d09

Please sign in to comment.