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

Mint info endpoint crashes eNuts iOS #366

Open
jblachly opened this issue Aug 25, 2024 · 1 comment
Open

Mint info endpoint crashes eNuts iOS #366

jblachly opened this issue Aug 25, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@jblachly
Copy link

Describe the bug
My mint returns the following JSON:

{"name":"moksha-test","pubkey":"020b718d4085b8c3c96c090d76939f48bcce7b3c6a9ad2b728cd37c4a3768bf450","version":"0.2.1-","contact":[],"motd":"No MOTD","nuts":{"4":{"methods":[{"method":"bolt11","unit":"sat","min_amount":1,"max_amount":10000000}],"disabled":false},"5":{"methods":[{"method":"bolt11","unit":"sat","min_amount":1,"max_amount":10000000}],"disabled":false},"7":{"supported":false},"8":{"supported":true},"9":{"supported":false},"10":{"supported":false},"11":{"supported":false},"12":{"supported":false},"13":{"supported":false},"14":{"supported":false},"15":{"supported":false},"16":{"supported":false},"17":{},"18":{"supported":true,"methods":[{"method":"btconchain","unit":"sat","min_amount":10000,"max_amount":1000000,"min_confirmations":1}]},"19":{"supported":true,"methods":[{"method":"btconchain","unit":"sat","min_amount":10000,"max_amount":1000000}]}}}

This crashes both the stable AppStore version 0.3 as well as the latest testflight beta -- the screen turns white and the app must be killed and restarted.

To Reproduce
Steps to reproduce the behavior:

Serve this content dynamically or statically for a mint

Expected behavior

I expect eNuts to at a minimum complain about missing data, malformed data, etc.; rather than to crash.

Screenshots

WSOD (White screen of death)

Smartphone (please complete the following information):

  • Device: iPhone 11 pro max
  • OS: 17.5.1
  • Browser: safari
  • Version no idea

Additional context

Moksha latest commit ngutech21/moksha@6b07c8d

Reverse proxy with Letsencrypt cert

Mint works fine with web wallet https://wallet.cashu.me

@KKA11010 KKA11010 self-assigned this Sep 5, 2024
@KKA11010 KKA11010 added the bug Something isn't working label Sep 5, 2024
@KKA11010
Copy link
Collaborator

KKA11010 commented Sep 5, 2024

Thank you for the report <3

Will look into it ASAP!

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

2 participants