This PR makes it possible to pay zero amount invoices.
Motivation and Context
Giving the User the freedom to choose for themselves to take the risk of paying zero amount invoices.
Zero amount invoices can be exploited resulting in a loss of the transferred amount. For low value payments they are still sometimes very handy.
Instead of disabling zero amount invoices we now only inform the user about the risk and let them decide on their own if they want to take the risk or not.
How Has This Been Tested?
Emulator
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
This PR makes it possible to pay zero amount invoices.
Motivation and Context
Giving the User the freedom to choose for themselves to take the risk of paying zero amount invoices. Zero amount invoices can be exploited resulting in a loss of the transferred amount. For low value payments they are still sometimes very handy. Instead of disabling zero amount invoices we now only inform the user about the risk and let them decide on their own if they want to take the risk or not.
How Has This Been Tested?
Emulator
Types of changes
Checklist: