diff options
author | aaronbuchwald <[email protected]> | 2020-11-09 16:51:30 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-11-09 16:51:30 -0500 |
commit | ae4541f42a666fb5ae1c36d6f7423c3d9eb2c875 (patch) | |
tree | 449b53fd8522acc9adb54e93fdc50815f36000d9 /internal/ethapi | |
parent | c613e21ea107e8369926f4b53b7830a9d5dabf18 (diff) | |
parent | 419cd2d882b93bd98f54957a15c25716fca09123 (diff) |
Merge pull request #51 from ava-labs/devv0.3.14
Dev
Diffstat (limited to 'internal/ethapi')
-rw-r--r-- | internal/ethapi/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go index 728fb07..d894ea0 100644 --- a/internal/ethapi/api.go +++ b/internal/ethapi/api.go @@ -565,7 +565,7 @@ func (s *PublicBlockChainAPI) GetAssetBalance(ctx context.Context, address commo if state == nil || err != nil { return nil, err } - return (*hexutil.Big)(state.GetBalanceMultiCoin(address, assetID.Key())), state.Error() + return (*hexutil.Big)(state.GetBalanceMultiCoin(address, common.Hash(assetID))), state.Error() } // Result structs for GetProof |