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

Return error on secret manager mismatch #946

Conversation

Alex6323
Copy link
Contributor

Description of change

In some cases we just return an Ok(()) on some stronghold related wallet methods even if the internally used secret manager is something else than a stronghold secret manager. This I think might be confusing to the user. This PR changes this behavior and will consistently return an error instead if a stronghold-only operation is tried to be called on some other secret manager.

Links to any relevant issues

None

Type of change

  • Enhancement (a non-breaking change which adds functionality)

@Alex6323 Alex6323 changed the title return error on mismatch Return error on secret manager mismatch Jul 27, 2023
@Alex6323 Alex6323 changed the base branch from develop to 1.1 July 27, 2023 11:11
Copy link
Member

@thibault-martinez thibault-martinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rebase

Thoralf-M
Thoralf-M previously approved these changes Jul 28, 2023
Copy link
Member

@thibault-martinez thibault-martinez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changelog

DaughterOfMars
DaughterOfMars previously approved these changes Jul 28, 2023
@thibault-martinez thibault-martinez merged commit 571baed into iotaledger:1.1 Jul 29, 2023
22 checks passed
@Alex6323 Alex6323 deleted the fix/wallet/error-on-secret-manager-mismatch branch July 29, 2023 14:21
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 this pull request may close these issues.

4 participants