index
:
coreth
Avalanche C-Chain service code.
log msg
author
committer
range
dev
devnet-no-plugin
ecstasy-fixes
ecstasy-transfer
geth-tavum
master
multi-coin
about
summary
refs
log
tree
commit
diff
path:
root
/
internal
/
ethapi
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
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