Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to mainnet #2099

Merged
merged 2 commits into from
Jul 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/workers/generate_udt_holder_allocation_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def perform(type_hashes = nil)
type_hashes ||= $redis.smembers("udt_holder_allocation")

type_hashes.each do |type_hash|
udt = Udt.published_xudt.find_by(type_hash:)
udt = Udt.find_by(type_hash:, published: true)
next unless udt

update_btc_holder_allocation(udt)
Expand Down
2 changes: 1 addition & 1 deletion app/workers/update_udt_info_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def perform(block_number)
}

# generate udt holder allocation
if udt.xudt_compatible? || udt.xudt?
if udt.xudt_compatible? || udt.xudt? || xudt.omiga_inscription?
$redis.sadd("udt_holder_allocation", type_hash)
end
end
Expand Down
Loading