[Bug]: Unable to send max amount via Lightning
Describe the bug
When trying to send all available spending balance funds most of the times there will be payment routing issues. This is due to not leaving sats for the routing fee.
Reproduce
- Have spending balance
- Click on 'Send'
- Paste invoice
- Click on 'Max'
- Continue flow
- See error
Screenshots / Recording
No response
Operating system
Android, iOS
Bitkit version
master
Log output
No response
Partially addressed here.
This was also discussed in the most recent Sprint meeting. It is currently blocked from a full fix until we add probing to lightning payments so we can more accurately estimate the transaction/routing fee.
Easy fix: Increase half rserv (or maybe 100).
Fixed and tested
Reopening this since there was only a quickfix applied here. Long term we would still want to probe to get an accurate estimation of the fee.