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
App crashing or closing the app while sending an invoice can lead to lose of ecash!
To Reproduce
Steps to reproduce the behavior:
Initiate a invoice send
After eNuts is waiting for the mint to send the invoice, quickly close the eNuts application
Open eNuts and notice there is nothing in the history to indicate an invoice was in progress
Check you proofs and notice 1 or more proofs have been deleted!
Now notice your balance is lower than it was before trying to send the invoice but there is nothing in history to indicate a transaction
Expected behavior
At no point should lose of ecash be possible due to closing the app or an app crash. Closing during sending an invoice should either cancel the invoice payment of try to continue where it left off during the invoice sending process.
Screenshots
Cut out personal section but you can still see the issue with closing the app at the wrong time.
Thank you for reporting this issue. The app does not delete any proofs (ecash). The proofs used to pay an invoice are marked as spent during the lightning payment and in your case, the problem is a frontend thing because there is no pending history entries and therefore the proofs used for the payment are not visible anymore.
If you check the proofs after closing the app during the LN payment, it may seem like the proofs are deleted, but they are actually stored in a "usedProofs" database. All this is currently not accessible to the user.
Sorry for the inconvenience and I hope to find time to improve this UX asap.
Describe the bug
App crashing or closing the app while sending an invoice can lead to lose of ecash!
To Reproduce
Steps to reproduce the behavior:
Expected behavior
At no point should lose of ecash be possible due to closing the app or an app crash. Closing during sending an invoice should either cancel the invoice payment of try to continue where it left off during the invoice sending process.
Screenshots
Cut out personal section but you can still see the issue with closing the app at the wrong time.
recording_20231216_163450-cut-merged-1702765249629.mp4
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: