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

Cannot split more than (2^32) - 1 tokens at a time #70

Open
ebrakke opened this issue May 18, 2023 · 1 comment
Open

Cannot split more than (2^32) - 1 tokens at a time #70

ebrakke opened this issue May 18, 2023 · 1 comment

Comments

@ebrakke
Copy link

ebrakke commented May 18, 2023

While unlikely in a normal use case with sats, the code for splitting tokens does not support more than (2**32 - 1)` at a time.
I could honestly go either way whether on not it should be supported (since someone would have to send that many sats in a single LN invoice), but at the very least it'd probably be good to throw an error if a user tried to mint more than this amount.

@dipunm
Copy link
Contributor

dipunm commented Sep 21, 2023

42 BTC if measured in sats (as opposed to having millisat tokens).
42,9496,7295 sats to be exact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants