From e3f97b1df95f9fb758bf2214f11065bd62ff162c Mon Sep 17 00:00:00 2001 From: nabarun Date: Fri, 22 Apr 2022 15:42:31 +0530 Subject: [PATCH] fix: gql query getAccounts for high balances --- gql/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gql/util.go b/gql/util.go index c2cbeb29..bbcdb2f1 100644 --- a/gql/util.go +++ b/gql/util.go @@ -24,7 +24,7 @@ const ExpiryTimeAttributeName = "expiryTime" func getGQLCoin(coin sdk.Coin) *Coin { gqlCoin := Coin{ Type: coin.Denom, - Quantity: strconv.FormatInt(coin.Amount.Int64(), 10), + Quantity: coin.Amount.String(), } return &gqlCoin