Skip to content

Commit

Permalink
Merge pull request #2236 from nervosnetwork/develop
Browse files Browse the repository at this point in the history
Deploy to testnet
  • Loading branch information
zmcNotafraid authored Oct 14, 2024
2 parents 91f7300 + 0f44605 commit 148b60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/suggest_query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def find_bitcoin_transaction_by_txid
end

def find_udts_by_name_or_symbol
udts = Udt.where(udt_type: %i[sudt xudt omiga_inscription], published: true).
udts = Udt.where(udt_type: %i[sudt xudt xudt_compatible omiga_inscription], published: true).
where("LOWER(full_name) LIKE LOWER(:query_key) OR LOWER(symbol) LIKE LOWER(:query_key)", query_key: "%#{query_key}%")
UdtSerializer.new(udts) if udts.present?
end
Expand Down

0 comments on commit 148b60a

Please sign in to comment.