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

Add function to get claimed nameplates #183

Open
JustusFT opened this issue Feb 28, 2023 · 0 comments
Open

Add function to get claimed nameplates #183

JustusFT opened this issue Feb 28, 2023 · 0 comments

Comments

@JustusFT
Copy link
Contributor

JustusFT commented Feb 28, 2023

It would be nice to have a function that returns a list of claimed nameplates.

Use case:
In wormhole-william, when a user tries to receive with a code, we check if there's a claimed nameplate like so. If the nameplate is unclaimed, there's nothing to receive so the app exits with an error message Nameplate is unclaimed. We also use this error in winden to inform the user that they put in a wrong code and try again.
Currently in magic-wormhole.rs, if the user puts in a code with an unclaimed nameplate, the application hangs.

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

1 participant