bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: Unable to send max amount via Lightning

Open pwltr opened this issue 2 years ago • 5 comments

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.

error bitkit

Reproduce

  1. Have spending balance
  2. Click on 'Send'
  3. Paste invoice
  4. Click on 'Max'
  5. Continue flow
  6. See error

Screenshots / Recording

No response

Operating system

Android, iOS

Bitkit version

master

Log output

No response

pwltr avatar Dec 12 '23 15:12 pwltr

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.

coreyphillips avatar Jan 24 '24 17:01 coreyphillips

Easy fix: Increase half rserv (or maybe 100).

JeanlChristophe avatar Feb 13 '24 12:02 JeanlChristophe

Fixed and tested

JeanlChristophe avatar Feb 21 '24 15:02 JeanlChristophe

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.

pwltr avatar Feb 22 '24 11:02 pwltr