aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/ethapi/api.go2
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