Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve conversion logic for zero balances #245

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

snegov
Copy link
Contributor

@snegov snegov commented Dec 23, 2024

This change ensures that currency conversion is only attempted if the balance is non-zero. In some cases, currency conversion is impossible due to the absence of a price for the required currency pair. However, this does not matter if the balance is zero, so the conversion can be skipped in such cases.

This change ensures that currency conversion is only attempted if the
balance is non-zero. In some cases, currency conversion is impossible
due to the absence of a price for the required currency pair. However,
this does not matter if the balance is zero, so the conversion can be
skipped in such cases.
@coveralls
Copy link

Coverage Status

coverage: 85.285%. remained the same
when pulling 87f3d27 on snegov:feature/improve-get-balance
into 3fd511b on sdementen:master.

@sdementen sdementen merged commit 11be539 into sdementen:master Dec 23, 2024
6 checks passed
@snegov snegov deleted the feature/improve-get-balance branch December 23, 2024 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants