mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-07 07:26:48 +00:00
Portfolio: Add support for XRP balance fetching and fix ETH address balance 404 issue (#485)
* Added in balance fetching for ripple and fixed an eth bug * Add test and fix other test * Addressed thrasher nits
This commit is contained in:
@@ -60,11 +60,11 @@ func (p *portfolioManager) run() {
|
||||
log.Debugf(log.PortfolioMgr, "Portfolio manager shutdown.")
|
||||
}()
|
||||
|
||||
p.processPortfolio()
|
||||
for {
|
||||
select {
|
||||
case <-p.shutdown:
|
||||
return
|
||||
|
||||
case <-tick.C:
|
||||
p.processPortfolio()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user