2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-10 13:10:26 +00:00

Include DefaultChartRange in default config

This commit is contained in:
Simon Roberts 2021-08-19 16:40:54 +10:00
parent 142777d965
commit e60bc6dcd6

View File

@ -244,6 +244,7 @@ func NewCointop(config *Config) (*Cointop, error) {
cacheDir: DefaultCacheDir, cacheDir: DefaultCacheDir,
coinsTableColumns: DefaultCoinTableHeaders, coinsTableColumns: DefaultCoinTableHeaders,
currencyConversion: DefaultCurrency, currencyConversion: DefaultCurrency,
defaultChartRange: DefaultChartRange,
// DEPRECATED: favorites by 'symbol' is deprecated because of collisions. Kept for backward compatibility. // DEPRECATED: favorites by 'symbol' is deprecated because of collisions. Kept for backward compatibility.
favoritesBySymbol: make(map[string]bool), favoritesBySymbol: make(map[string]bool),
favorites: make(map[string]bool), favorites: make(map[string]bool),