Skip to content

Commit

Permalink
Merge pull request #2363 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
rabbitz authored Dec 20, 2024
2 parents d2e5a55 + 373bd14 commit b9ab42e
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

Check warning on line 29 in app/workers/generate_rgbpp_assets_statistic_worker.rb

View check run for this annotation

Codecov / codecov/patch

app/workers/generate_rgbpp_assets_statistic_worker.rb#L25-L29

Added lines #L25 - L29 were not covered by tests

Expand Down

0 comments on commit b9ab42e

Please sign in to comment.