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

missing support for some error codes returned by the mint #655

Open
elnosh opened this issue Oct 31, 2024 · 3 comments
Open

missing support for some error codes returned by the mint #655

elnosh opened this issue Oct 31, 2024 · 3 comments

Comments

@elnosh
Copy link
Contributor

elnosh commented Oct 31, 2024

there are some error codes from the spec that are missing. The ones I noticed:

  • outputs already signed (10002)
  • token could not be verified (10003)
  • amount outside of limit range (11006)

Nutshell returns all these errors but using codes different from the spec.

@lollerfirst
Copy link
Contributor

Specifically what is the text of the errors for each one you noticed?

@elnosh
Copy link
Contributor Author

elnosh commented Dec 19, 2024

  • outputs already signed (10002)
  • token could not be verified (10003)
  • amount outside of limit range (11006)
  • "outputs have already been signed before."
  • "could not verify proofs."
  • "Maximum mint amount is {} sat."

For the first two it uses TransactionError it looks like which sets the code to 11000.

@gudnuf
Copy link
Contributor

gudnuf commented Jan 13, 2025

Just ran into this as well:

raise TransactionError("outputs have already been signed before.")

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

3 participants