Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FIX: Custom fee displayed in exponent form (eg 1.5e-7)#8020

Merged
Overtorment merged 3 commits into
BlueWallet:masterfrom
ojokne:fix-custom-fee-displayed-in-exponent-form
Aug 7, 2025
Merged

FIX: Custom fee displayed in exponent form (eg 1.5e-7)#8020
Overtorment merged 3 commits into
BlueWallet:masterfrom
ojokne:fix-custom-fee-displayed-in-exponent-form

Conversation

@ojokne

@ojokne ojokne commented Jul 16, 2025

Copy link
Copy Markdown
Member

When user enters a custom fee below 1 sat/vByte, the fee was being calculated and displayed in exponent form eg 1.5e-7 BTC

This PR fixes that bug and displays the amount in decimals eg 0.00000015 BTC

image

@limpbrains

Copy link
Copy Markdown
Collaborator

formatBalance has a unit tests, can you please add this case?

@ojokne

ojokne commented Jul 18, 2025

Copy link
Copy Markdown
Member Author

formatBalance has a unit tests, can you please add this case?

Let me work on it

@limpbrains limpbrains left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Overtorment I think it is ready to be merged

@limpbrains limpbrains requested a review from Overtorment August 2, 2025 08:22
@GladosBlueWallet

Copy link
Copy Markdown
Collaborator

Wake the fuck up samurai, we have PRs to merge

image

[all PRs for @Overtorment] https://github.com/BlueWallet/BlueWallet/pulls/review-requested/Overtorment

@Overtorment Overtorment merged commit 684f996 into BlueWallet:master Aug 7, 2025
8 of 10 checks passed
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.

4 participants