diff --git a/Circles.Index.Rpc/CirclesRpcModule.cs b/Circles.Index.Rpc/CirclesRpcModule.cs index 7df0c5a..158ad81 100644 --- a/Circles.Index.Rpc/CirclesRpcModule.cs +++ b/Circles.Index.Rpc/CirclesRpcModule.cs @@ -346,12 +346,14 @@ private List V2CirclesTokenBalances(IEthRpcModule rpcModu if (asTimeCircles) { var tcBalance = FormatTimeCircles(tokenBalance); - balances.Add(new CirclesTokenBalanceV2(tokenId, tcBalance, tokenId.ToHexString(true))); + Address tokenAddress = new(tokenIdBytes.Slice(32 - 20, 20)); + balances.Add(new CirclesTokenBalanceV2(tokenId, tcBalance, tokenAddress.ToString(true, false))); } else { + Address tokenAddress = new(tokenIdBytes.Slice(32 - 20, 20)); balances.Add(new CirclesTokenBalanceV2(tokenId, tokenBalance.ToString(CultureInfo.InvariantCulture), - tokenId.ToHexString(true))); + tokenAddress.ToString(true, false))); } } diff --git a/Circles.Index/Circles.Index.csproj b/Circles.Index/Circles.Index.csproj index c4ccaa6..5c34097 100644 --- a/Circles.Index/Circles.Index.csproj +++ b/Circles.Index/Circles.Index.csproj @@ -8,8 +8,8 @@ Daniel Janz (Gnosis Service GmbH) Gnosis Service GmbH Circles - 1.4.1 - 1.4.1 + 1.5.0 + 1.5.0