Skip to content

Commit

Permalink
Merge pull request #2333 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
rabbitz authored Dec 11, 2024
2 parents 5ff5114 + 04020c0 commit 74f63b2
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: false, address: })
options.merge!(params: { previews: true, address: })

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

0 comments on commit 74f63b2

Please sign in to comment.