From 299c8165936da2fe22504739394fcc45dbfc3c18 Mon Sep 17 00:00:00 2001 From: billettc Date: Tue, 8 Jan 2019 08:33:49 -0500 Subject: [PATCH] Fix for https://github.com/eoscanada/eos-go/issues/103 --- responses.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/responses.go b/responses.go index 318bc2dd..f0636e82 100644 --- a/responses.go +++ b/responses.go @@ -164,10 +164,10 @@ type AccountResp struct { LastCodeUpdate JSONTime `json:"last_code_update"` Created JSONTime `json:"created"` CoreLiquidBalance Asset `json:"core_liquid_balance"` - RAMQuota int64 `json:"ram_quota"` - RAMUsage int64 `json:"ram_usage"` - NetWeight Int64 `json:"net_weight"` - CPUWeight Int64 `json:"cpu_weight"` + RAMQuota JSONInt64 `json:"ram_quota"` + RAMUsage JSONInt64 `json:"ram_usage"` + NetWeight JSONInt64 `json:"net_weight"` + CPUWeight JSONInt64 `json:"cpu_weight"` NetLimit AccountResourceLimit `json:"net_limit"` CPULimit AccountResourceLimit `json:"cpu_limit"` Permissions []Permission `json:"permissions"`