Skip to content

fix(ecdsa): correct error message for invalid vector.k in dev macro#1220

Open
GarmashAlex wants to merge 1 commit intoRustCrypto:masterfrom
GarmashAlex:fix/ecdsa-dev-error-msg-typo
Open

fix(ecdsa): correct error message for invalid vector.k in dev macro#1220
GarmashAlex wants to merge 1 commit intoRustCrypto:masterfrom
GarmashAlex:fix/ecdsa-dev-error-msg-typo

Conversation

@GarmashAlex
Copy link

Cause: The error message in the new_signing_test macro incorrectly referred to "vector.m" when checking the ephemeral scalar k, which was a copy-paste error from the line below. This would confuse developers debugging test failures since the message doesn't match the actual field.

Changes: Fixed the error message in decode_scalar(vector.k).expect() to correctly reference "invalid vector.k" instead of "invalid vector.m".

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.

1 participant