pull/9015/head
Nikita Pozdniakov 11 months ago
parent 86d1219892
commit dbcdd7fafa
No known key found for this signature in database
GPG Key ID: F344106F9804FE5F
  1. 2
      apps/block_scout_web/test/block_scout_web/controllers/api/v2/token_controller_test.exs
  2. 2
      apps/explorer/lib/explorer/chain/token/instance.ex

@ -1008,7 +1008,7 @@ defmodule BlockScoutWeb.API.V2.TokenControllerTest do
assert data = json_response(request, 200)
assert compare_item(instance, data)
assert compare_item(transfer.to_address, data["owner"])
assert Address.checksum(instance.owner_address_hash) == data["owner"]["hash"]
end
end

@ -6,7 +6,7 @@ defmodule Explorer.Chain.Token.Instance do
use Explorer.Schema
alias Explorer.{Chain, Helper}
alias Explorer.Chain.{Address, Block, Hash, Token}
alias Explorer.Chain.{Address, Block, Hash, Token, TokenTransfer}
alias Explorer.Chain.Address.CurrentTokenBalance
alias Explorer.Chain.Token.Instance
alias Explorer.PagingOptions

Loading…
Cancel
Save