Skip to content

Commit

Permalink
Merge d0d160d into e4dad7c
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz authored Jun 13, 2023
2 parents e4dad7c + d0d160d commit 2d5d77e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/cell_output.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,15 @@ def cota_registry_info

code_hash = CkbSync::Api.instance.cota_registry_code_hash
CkbUtils.hash_value_to_s( symbol: '', amount: self.udt_amount, decimal: '', type_hash: self.type_hash,
published: 'true', display_name: '', uan: '', code_hash: self.code_hash)
published: 'true', display_name: '', uan: '', code_hash: code_hash)
end

def cota_regular_info
return unless cota_regular?

code_hash = CkbSync::Api.instance.cota_regular_code_hash
CkbUtils.hash_value_to_s( symbol: '', amount: self.udt_amount, decimal: '', type_hash: self.type_hash,
published: 'true', display_name: '', uan: '', code_hash: self.code_hash)
published: 'true', display_name: '', uan: '', code_hash: code_hash)
end
end

Expand Down

0 comments on commit 2d5d77e

Please sign in to comment.