From 7c98d09fbd1a671aa2facb3f5546744f4e859d91 Mon Sep 17 00:00:00 2001 From: Rabbit Date: Tue, 10 Dec 2024 10:54:15 +0800 Subject: [PATCH] fix: address transactions (#2328) --- app/interactions/addresses/ckb_transactions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/interactions/addresses/ckb_transactions.rb b/app/interactions/addresses/ckb_transactions.rb index cb38536c6..4a88a7f50 100644 --- a/app/interactions/addresses/ckb_transactions.rb +++ b/app/interactions/addresses/ckb_transactions.rb @@ -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)