Skip to content

Commit

Permalink
chore: update ft count filter (#2362)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz authored Dec 20, 2024
1 parent e9e14fe commit 373bd14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/workers/generate_rgbpp_assets_statistic_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 373bd14

Please sign in to comment.