Do not export when not required
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
2024-03-23 14:06:38 -06:00
parent 7d52632af6
commit 92a6246052
3 changed files with 9 additions and 9 deletions

View File

@@ -59,7 +59,7 @@ func (p *Provider) GetBalances() ([]int, []string, error) {
satoshiBalance += addressResponse.ChainStats.FundedTxoSum - addressResponse.ChainStats.SpentTxoSum
}
fiatBalance, err := p.client.ConvertBTCToCAD(satoshiBalance)
fiatBalance, err := p.client.convertBTCToCAD(satoshiBalance)
if err != nil {
return balances, ynabAccountIDs, fmt.Errorf("failed to convert satoshi balance to fiat balance: %v", err)
}