Skip to content

Conversation

@ojokne
Copy link
Member

@ojokne ojokne commented Jul 16, 2025

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
Collaborator

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

@ojokne
Copy link
Member Author

ojokne commented Jul 18, 2025

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

Let me work on it

Copy link
Collaborator

@limpbrains limpbrains left a comment

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
Collaborator

@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