make private if not part of provider interface
continuous-integration/drone/push Build is passing

This commit is contained in:
steven committed 2023-11-13 18:52:24 -07:00
1 parent 5eea9ede3a
commit 47e460a9dc
4 files changed
+19 -19

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ func (p *Provider) GetBalances() ([]int, []string, error) {
ynabAccountIDs := make([]string, 0)
var satoshiBalance int
for _, bitcoinAddress := range p.bitcoinAddresses {
addressResponse, err := p.client.GetAddress(bitcoinAddress)
addressResponse, err := p.client.getAddress(bitcoinAddress)
if err != nil {
return balances, ynabAccountIDs, fmt.Errorf("failed to get bitcoin address '%s': %v", bitcoinAddress, err)
}