From 6ec915abe92e2cd8a4457cb0097ae421f44e4986 Mon Sep 17 00:00:00 2001 From: Simon Roberts Date: Thu, 19 Aug 2021 16:40:54 +1000 Subject: [PATCH] Include DefaultChartRange in default config --- cointop/cointop.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cointop/cointop.go b/cointop/cointop.go index 1f16367..17a9843 100644 --- a/cointop/cointop.go +++ b/cointop/cointop.go @@ -244,6 +244,7 @@ func NewCointop(config *Config) (*Cointop, error) { cacheDir: DefaultCacheDir, coinsTableColumns: DefaultCoinTableHeaders, currencyConversion: DefaultCurrency, + defaultChartRange: DefaultChartRange, // DEPRECATED: favorites by 'symbol' is deprecated because of collisions. Kept for backward compatibility. favoritesBySymbol: make(map[string]bool), favorites: make(map[string]bool),