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:
Ryan O'Hara-Reid
2020-04-22 14:33:56 +10:00
committed by GitHub
parent 8ab6a7f653
commit 1e7cef96dc
4 changed files with 134 additions and 29 deletions

View File

@@ -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()
}