-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request] msat precision in LN invoice payouts and invoice creation #4602
Comments
Update from @NicolasDorier:
The other more pressing issue is the overpayment of the msat precision invoices created in BTCPayServer and paid with the Blink wallet. The request is to have |
@openoms for the issue of Just make |
Just to let you know: We decided to round down to the sats for 2.0 to avoid those issues in the short term. |
Currently the calls
lnInvoiceCreate
andLnInvoiceCreateOnBehalfOfRecipient
are only accepting the amount as a (Positive) Satoshi amount.When BTCPayServer would create a payment request with
msat
precision the amount is rounded up to the nearest satoshi and an overpayment is created which causes accounting issues.A solution for this would be allowing creation of invoices with msat precision on
lnInvoiceCreate
operation in the API.cc @NicolasDorier @pavlenex
The text was updated successfully, but these errors were encountered: