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

Melt: index out of bounds #50

Closed
DanielUhlik opened this issue Nov 20, 2023 · 1 comment · Fixed by #53
Closed

Melt: index out of bounds #50

DanielUhlik opened this issue Nov 20, 2023 · 1 comment · Fixed by #53

Comments

@DanielUhlik
Copy link
Contributor

DanielUhlik commented Nov 20, 2023

Trying to spend token and getting this error, it would be helpful to provide some Error message. Spending from nutstash works fine.

thread 'actix-rt|system:0|arbiter:1' panicked at cashu-crab/crates/cashu-sdk/src/mint.rs:309:42:
index out of bounds: the len is 1 but the index is 1
cashuAeyJ0b2tlbiI6W3sicHJvb2ZzIjpbeyJpZCI6InBvWFdrOG9OOU9MbCIsImFtb3VudCI6MSwic2VjcmV0IjoiVEtxcDVUdHdYTUtsb2I3MmxoRXI2Sjd6b2ZLWVhHakpDcHgzT0txbmJqUT0iLCJDIjoiMDJhYTViNjkwZTkzODY0ODE1ZGMwZDU2NzhiNWEzZDFjMDhhNTQ3MzczZDZiYmUyM2E4MzYyZjVhZGE5YTM1Yzg4In1dLCJtaW50IjoiaHR0cHM6Ly9jYXNodS50Y2hhaWNhcC5zcGFjZS9jYXNodSJ9XX0
@DanielUhlik
Copy link
Contributor Author

There is a similar problem with wallet.send(...)
range end index 8 out of range for slice of length 3

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

Successfully merging a pull request may close this issue.

1 participant