Merge pull request #34 from deep-stack/ng-gql-get-accounts
Fix GQL query getAccounts
This commit is contained in:
commit
cfeeece6bd
@ -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