bitcoin address failure - actually check the error
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
287acc03eb
commit
068004ba14
@ -63,6 +63,9 @@ func (p *Provider) GetBalances() ([]int, []string, error) {
|
|||||||
}(goErr)
|
}(goErr)
|
||||||
}
|
}
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
|
if *goErr != nil {
|
||||||
|
return nil, nil, *goErr
|
||||||
|
}
|
||||||
|
|
||||||
fiatBalance, err := p.client.convertBTCToCAD(satoshiBalance)
|
fiatBalance, err := p.client.convertBTCToCAD(satoshiBalance)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user