Skip to content

fix: Fixed typo of lenght to length#1216

Merged
rwalworth merged 1 commit intohiero-ledger:mainfrom
Kubikusik:FixTypoLengthConstant
Mar 10, 2026
Merged

fix: Fixed typo of lenght to length#1216
rwalworth merged 1 commit intohiero-ledger:mainfrom
Kubikusik:FixTypoLengthConstant

Conversation

@Kubikusik
Copy link
Copy Markdown
Contributor

@Kubikusik Kubikusik commented Mar 10, 2026

Description:

Fix the spelling mistake in the MAX_ENCRYPTED_KEY_LENGHT constant.

Related issue(s):

Fixes #1214

Notes for reviewer:

This PR resolves the beginner issue to fix misspelling of a constant.

Renames MAX_ENCRYPTED_KEY_LENGHT to MAX_ENCRYPTED_KEY_LENGTH in ASN1ECKey.h
Updates all references to the corrected constant name in ASN1ECPrivateKey.cc, ASN1ECPublicKey.cc, ASN1ED25519PrivateKey.cc, and ASN1ED25519PublicKey.cc

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

@Kubikusik Kubikusik marked this pull request as ready for review March 10, 2026 18:09
@Kubikusik Kubikusik requested review from a team as code owners March 10, 2026 18:09
@Kubikusik Kubikusik requested a review from rwalworth March 10, 2026 18:09
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 10, 2026

Hi @Kubikusik 👋, thank you for submitting this PR!
I'm your PR Helper Bot and I'll be keeping track of your PR's
status to help you get it approved and merged.

This comment will stay updated as you make changes.
Here's where things stand:


PR Checks

DCO Sign-off -- All commits have valid sign-offs.


GPG Signature -- All commits have verified GPG signatures.


Merge Conflicts -- No merge conflicts detected.


Issue Link -- Linked to #1214 (assigned to you).


🎉 All checks passed! Your PR is ready for review.

@github-actions github-actions bot added the status: needs revision A pull request that requires changes before merge label Mar 10, 2026
@Kubikusik Kubikusik force-pushed the FixTypoLengthConstant branch from a703d73 to 9a57c17 Compare March 10, 2026 18:19
@github-actions github-actions bot added status: needs review The pull request is ready for maintainer review and removed status: needs revision A pull request that requires changes before merge labels Mar 10, 2026
Signed-off-by: kubikusik <jakubmical@student.agh.edu.pl>
@Kubikusik Kubikusik force-pushed the FixTypoLengthConstant branch from 9a57c17 to 88d77dd Compare March 10, 2026 18:23
Copy link
Copy Markdown
Contributor

@rwalworth rwalworth left a comment

Choose a reason for hiding this comment

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

LGTM, thank you @Kubikusik! The rename covers all five references and the change is exactly what was requested in #1214. Running the workflows now and will merge once they pass!

@rwalworth rwalworth merged commit 069bfc9 into hiero-ledger:main Mar 10, 2026
12 checks passed
@rwalworth rwalworth removed the status: needs review The pull request is ready for maintainer review label Mar 10, 2026
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.

[Good First Issue]: Fix typo in MAX_ENCRYPTED_KEY_LENGHT constant (LENGHTLENGTH)

2 participants