Skip to content

Commit

Permalink
chore: update address_hash attribute in the address serializer (#1685)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz authored Mar 18, 2024
1 parent 0e93a40 commit bced8c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/serializers/address_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class AddressSerializer
attributes :lock_info

attribute :address_hash do |object|
object.query_address
object.query_address || object.address_hash
end
attribute :balance do |object|
object.balance.to_s
Expand Down

0 comments on commit bced8c5

Please sign in to comment.