mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-03 07:26:45 +00:00
Minor QA changes
1) Add ability to enable all pairs using the new pair manager 2) Add abiity to enable/disable database subsystem via gRPC 3) Fix spelling mistakes
This commit is contained in:
@@ -200,7 +200,13 @@ func LoadExchange(name string, useWG bool, wg *sync.WaitGroup) error {
|
||||
}
|
||||
|
||||
if Bot.Settings.EnableAllPairs {
|
||||
exchCfg.EnabledPairs = exchCfg.AvailablePairs
|
||||
if exchCfg.CurrencyPairs != nil {
|
||||
assets := exchCfg.CurrencyPairs.GetAssetTypes()
|
||||
for x := range assets {
|
||||
pairs := exchCfg.CurrencyPairs.GetPairs(assets[x], false)
|
||||
exchCfg.CurrencyPairs.StorePairs(assets[x], pairs, true)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if Bot.Settings.EnableExchangeVerbose {
|
||||
|
||||
Reference in New Issue
Block a user