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

Verify that the number of keys in policy being registered is correct #188

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

bigspider
Copy link
Collaborator

@bigspider bigspider commented Jul 24, 2023

Fixes an issues during wallet policy registration, where policies with missing keys could complete the registration.
Not a critical problem as it would be impossible to produce an address for those policies, but better to not allow registering them at all.

Also fixes a test in the js client that was indeed registering a policy with a missing key.

Issue discovered thanks to @landabaso's work in #184.

@sonarcloud
Copy link

sonarcloud bot commented Jul 24, 2023

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
2.0% 2.0% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@bigspider bigspider merged commit ab32733 into develop Jul 24, 2023
69 of 72 checks passed
@bigspider bigspider deleted the checkkeys branch July 24, 2023 15:13
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.

None yet

2 participants