Merge pull request #34 from deep-stack/ng-gql-get-accounts

Fix GQL query getAccounts
This commit is contained in:
Ashwin Phatak 2022-04-22 15:59:39 +05:30 committed by GitHub
commit cfeeece6bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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