forked from cerc-io/laconicd-deprecated
fix: gql query getAccounts for high balances
This commit is contained in:
parent
a7f8611858
commit
e3f97b1df9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user