Skip to content
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

Why are sats actually bits? #20

Open
MichaelAntonFischer opened this issue Sep 18, 2023 · 0 comments
Open

Why are sats actually bits? #20

MichaelAntonFischer opened this issue Sep 18, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MichaelAntonFischer
Copy link

MichaelAntonFischer commented Sep 18, 2023

Over the weekend, I was for the first time using a lnurldevice with the currency set to "sat". The quirky behaviour I noticed is that when the amount requested is 21 then instead of 21,000 msat, the invoice from the server contains 2100,000 msat or 21 bits instead of 21 sats.

How?

Why?

@dni dni added the bug Something isn't working label Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants