You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a user performs a Lightning transaction (melt or swap) and got not charged any fee (based on his balance afterwards), the key "realFee" still returns the same amount as the "estimated fees" that is determined before a Lightning transaction.
To Reproduce
Steps to reproduce the behavior:
0. Remember your balance before starting to reproduce.
Go to 'dashboard' and press 'Send'.
In the bottom popup, press on 'Pay Lightning invoice'.
Optionally (multiple mints with balance available), choose a mint URL to perform melt/swap transaction from.
Select any recipient option that fits best to you. (Does not matter, each one will reproduce the bug)
Go through the steps provided by the UI until the invoice is paid by the mint.
If payment is successfull, a "success screen" will be shown where a FEE amount is displayed (realFee).
Fee is higher than 0 even if no fees have been payed.
Expected behavior
"realFee" should be the exact amount of fees that have been payed for a Lightning transaction. If payed 0 fee, then realFee has to be 0.
Additional context
Branch: UX
The code that is used to show the "realFee" in the success screen can be found here
The function that is used for melting is here and the code used in that function that calculates the realFee is here
The text was updated successfully, but these errors were encountered:
* update error messages in the melting process #175
* fix melt via invoice scan, pass cashu err msg #175
* fix scan invoice check and process with +1 mint
* remove some logs
* update expo deps, fix melted amount rendering
* fix rendering of fees for a melting tx history
* fix#122#122
* clean up
* deps
---------
Co-authored-by: BilligsterUser <[email protected]>
Describe the bug
When a user performs a Lightning transaction (melt or swap) and got not charged any fee (based on his balance afterwards), the key "realFee" still returns the same amount as the "estimated fees" that is determined before a Lightning transaction.
To Reproduce
Steps to reproduce the behavior:
0. Remember your balance before starting to reproduce.
Expected behavior
"realFee" should be the exact amount of fees that have been payed for a Lightning transaction. If payed 0 fee, then realFee has to be 0.
Additional context
The text was updated successfully, but these errors were encountered: