fix: gql query getAccounts for high balances

This commit is contained in:
nabarun 2022-04-22 15:42:31 +05:30
parent a7f8611858
commit e3f97b1df9

View File

@ -24,7 +24,7 @@ const ExpiryTimeAttributeName = "expiryTime"
func getGQLCoin(coin sdk.Coin) *Coin { func getGQLCoin(coin sdk.Coin) *Coin {
gqlCoin := Coin{ gqlCoin := Coin{
Type: coin.Denom, Type: coin.Denom,
Quantity: strconv.FormatInt(coin.Amount.Int64(), 10), Quantity: coin.Amount.String(),
} }
return &gqlCoin return &gqlCoin