diff --git a/providers/bitcoin/providerImpl.go b/providers/bitcoin/providerImpl.go index a43a29a..38da0fc 100644 --- a/providers/bitcoin/providerImpl.go +++ b/providers/bitcoin/providerImpl.go @@ -55,8 +55,10 @@ func (p *Provider) GetBalances() ([]int, []string, error) { defer wg.Done() addressResponse, err := p.client.getAddress(bitcoinAddress) if err != nil { - err := fmt.Errorf("failed to get bitcoin address '%s': %v", bitcoinAddress, err) - goErr = &err + err := fmt.Errorf("failed to get BTC balance for bitcoin address '%s': %v", bitcoinAddress, err) + if err != nil { + goErr = &err + } return } satoshiBalance += addressResponse.ChainStats.FundedTxoSum - addressResponse.ChainStats.SpentTxoSum