bitcoin address failure - actually check the error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Steven Polley 2024-11-11 06:25:26 -07:00
parent 287acc03eb
commit 068004ba14

View File

@ -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 {