From 820d68b07787807320a62141c2388102c2edb137 Mon Sep 17 00:00:00 2001 From: jonowoodhouse <34842184+jonowoodhouse@users.noreply.github.com> Date: Mon, 25 Dec 2017 21:56:57 +0200 Subject: [PATCH] account.go - fix the AccountPairFee struct - use Pairs instead of Pair This fixes the call to account_infos via the Info func. It now returns the Pairs string correctly after json.Unmarshal is called in v1\client.go do func --- v1/account.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/account.go b/v1/account.go index 6128c2ee0..f76643058 100644 --- a/v1/account.go +++ b/v1/account.go @@ -5,7 +5,7 @@ type AccountService struct { } type AccountPairFee struct { - Pair string + Pairs string MakerFees float64 `json:"maker_fees,string"` TakerFees float64 `json:"taker_fees,string"` }