From 02aa4f841c03a0e6797aeec85d7658a8ea2caca3 Mon Sep 17 00:00:00 2001 From: Gareth Kirwan Date: Wed, 4 Oct 2023 15:35:03 +0700 Subject: [PATCH] Fix format of GetAccountTradingFees to match response --- exchanges/bitstamp/bitstamp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exchanges/bitstamp/bitstamp.go b/exchanges/bitstamp/bitstamp.go index b3f40687c8d..d83d7109379 100644 --- a/exchanges/bitstamp/bitstamp.go +++ b/exchanges/bitstamp/bitstamp.go @@ -106,10 +106,10 @@ func (b *Bitstamp) GetAccountTradingFee(ctx context.Context, pair currency.Pair) } // GetAccountTradingFees returns a slice of TradingFee -func (b *Bitstamp) GetAccountTradingFees(ctx context.Context) (TradingFees, error) { +func (b *Bitstamp) GetAccountTradingFees(ctx context.Context) ([]TradingFees, error) { path := bitstampAPITradingFees - var resp TradingFees + var resp []TradingFees err := b.SendAuthenticatedHTTPRequest(ctx, exchange.RestSpot, path, true, nil, &resp) return resp, err }