mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 07:26:47 +00:00
portfolio: Fix CryptoID balance issue and assertify tests (#1861)
* portfolio: Fix CryptoID balance issue and assertify tests * portfolio: Expand context usage, enhance tests and a few other minor improvements * portfolio: Further improvements and enhance common.IsValidCryptoAddress * config, portfolio: Use v6.DefaultConfig, switch to context.WithCancel
This commit is contained in:
@@ -77,8 +77,7 @@ func main() {
|
||||
log.Println("Loaded config file.")
|
||||
|
||||
displayCurrency = cfg.Currency.FiatDisplayCurrency
|
||||
port := portfolio.Base{}
|
||||
port.Seed(cfg.Portfolio)
|
||||
port := cfg.Portfolio
|
||||
result := port.GetPortfolioSummary()
|
||||
|
||||
log.Println("Fetched portfolio data.")
|
||||
|
||||
Reference in New Issue
Block a user