diff --git a/app/workers/generate_rgbpp_assets_statistic_worker.rb b/app/workers/generate_rgbpp_assets_statistic_worker.rb index fb4798f2c..795d0f8b7 100644 --- a/app/workers/generate_rgbpp_assets_statistic_worker.rb +++ b/app/workers/generate_rgbpp_assets_statistic_worker.rb @@ -24,7 +24,7 @@ def perform(datetime = nil) def ft_count_attributes timestamp = CkbUtils.time_in_milliseconds(ended_at) - 1 - xudts_count = Udt.published_xudt.where(block_timestamp: ..timestamp).count + xudts_count = Udt.where(udt_type: %i[xudt xudt_compatible], block_timestamp: ..timestamp).count { indicator: "ft_count", value: xudts_count, network: "global" } end