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

hotfix: initial currency conversion on balance #2346

Merged
merged 2 commits into from
Mar 26, 2024
Merged

Conversation

dni
Copy link
Member

@dni dni commented Mar 22, 2024

fiat amount not shown in balance on initial pageload, lets reintroduce the first fetch_balance to fix it.

maybe in the future balance call and wallet itself should give the current fiat value if the wallet uses fiat tracking so you dont need the extra conversion call

fiat amount not shown in balance on initial pageload, lets reintroduce the first fetch_balance to fix it.

maybe in the future balance call and wallet itself should give the current fiat value if the wallet uses fiat tracking
@dni dni added the bug Something isn't working label Mar 22, 2024
@dni dni added this to the 0.12.4 milestone Mar 22, 2024
@motorina0
Copy link
Collaborator

Please also remove initial balance assignment from created

Copy link

codecov bot commented Mar 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.51%. Comparing base (033a57c) to head (96d69ab).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2346      +/-   ##
==========================================
+ Coverage   58.50%   58.51%   +0.01%     
==========================================
  Files          61       61              
  Lines        9268     9268              
==========================================
+ Hits         5422     5423       +1     
+ Misses       3846     3845       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dni
Copy link
Member Author

dni commented Mar 24, 2024

done!

@dni dni merged commit 0ef9c4d into dev Mar 26, 2024
23 checks passed
@dni dni deleted the hotfix-currency-conversion branch March 26, 2024 09:41
bitkarrot pushed a commit to bitkarrot/lnbits-legend that referenced this pull request Mar 28, 2024
* hotfix: initial currency conversion on balance
fiat amount not shown in balance on initial pageload, lets reintroduce the first fetch_balance to fix it.
maybe in the future balance call and wallet itself should give the current fiat value if the wallet uses fiat tracking
@dni dni mentioned this pull request Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants