diff --git a/app/workers/contract_statistic_worker.rb b/app/workers/contract_statistic_worker.rb index 33b40ea9e..64d743f12 100644 --- a/app/workers/contract_statistic_worker.rb +++ b/app/workers/contract_statistic_worker.rb @@ -8,7 +8,7 @@ def perform pool = Concurrent::FixedThreadPool.new(pool_size) Contract.find_each do |contract| - # ckb_address_ids = fetch_ckb_address_ids(contract, pool) + ckb_address_ids = fetch_ckb_address_ids(contract, pool) contract.update( ckb_transactions_count: contract.cell_dependencies.count, h24_ckb_transactions_count: contract.cell_dependencies.where(ckb_transaction_id: h24_tx_ids).count,