This commit is contained in:
1 parent
7d52632af6
commit
92a6246052
3 files changed
+9
-9
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user