Skip to content

Commit

Permalink
Fix format of GetAccountTradingFees to match response
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Oct 4, 2023
1 parent 5d4e50a commit 02aa4f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exchanges/bitstamp/bitstamp.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 02aa4f8

Please sign in to comment.