From 6ebebf1b165f8c79b93786f7730e8a1ff501e4af Mon Sep 17 00:00:00 2001 From: Harry Ma Date: Wed, 17 Apr 2019 07:20:46 +0800 Subject: [PATCH] Fix the unsuitable definition of a function (#279) --- exchanges/exchange.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exchanges/exchange.go b/exchanges/exchange.go index 64bf4e7f..8b57156d 100644 --- a/exchanges/exchange.go +++ b/exchanges/exchange.go @@ -303,7 +303,7 @@ type IBotExchange interface { GetAccountInfo() (AccountInfo, error) GetAuthenticatedAPISupport() bool SetCurrencies(pairs []currency.Pair, enabledPairs bool) error - GetExchangeHistory(currency.Pair, string) ([]TradeHistory, error) + GetExchangeHistory(p currency.Pair, assetType string) ([]TradeHistory, error) SupportsAutoPairUpdates() bool GetLastPairsUpdateTime() int64 SupportsRESTTickerBatchUpdates() bool