diff --git a/providers/bitcoin/providerImpl.go b/providers/bitcoin/providerImpl.go index 9e3eca2..bdb180a 100644 --- a/providers/bitcoin/providerImpl.go +++ b/providers/bitcoin/providerImpl.go @@ -63,6 +63,9 @@ func (p *Provider) GetBalances() ([]int, []string, error) { }(goErr) } wg.Wait() + if *goErr != nil { + return nil, nil, *goErr + } fiatBalance, err := p.client.convertBTCToCAD(satoshiBalance) if err != nil {