diff options
author | Dan Laine <[email protected]> | 2020-10-30 12:55:53 -0400 |
---|---|---|
committer | Dan Laine <[email protected]> | 2020-10-30 12:55:53 -0400 |
commit | 5b12d3fa21635145cb8a752b56477e22fca77a5b (patch) | |
tree | b789cd27fc5a0795057f1c1ccbf17834a8af18c0 /internal/ethapi/api.go | |
parent | 4023ae20cb2b7cd228a68670bc55a6c9cdbabc36 (diff) |
remove these ID calls: Key(), Bytes(), Equals(), NewID(), IsZero()v0.3.11-update-idupdate-id
Diffstat (limited to 'internal/ethapi/api.go')
-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 |