Skip to content

Conversation

@bhavidhingra
Copy link
Contributor

@bhavidhingra bhavidhingra commented Nov 13, 2025

TICKET: COIN-6527

This pull request simplifies the message verification logic in the modules/account-lib/src/index.ts file by removing redundant validation and unused imports. The most important changes are:

Message verification logic:

  • The verifyMessage function now only checks the validity of the encoded payload using verifyEncodedPayload, removing the additional call to validateAgainstMessageTemplates. This streamlines the verification process and avoids redundant checks.

Code cleanup:

  • The unused validateAgainstMessageTemplates import was removed from the file, as it is no longer needed after the above change.

@bhavidhingra bhavidhingra requested a review from a team as a code owner November 13, 2025 13:12
Copy link
Contributor

@akarath akarath left a comment

Choose a reason for hiding this comment

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

Approved

@bhavidhingra bhavidhingra merged commit 3fcdd3d into master Nov 13, 2025
14 checks passed
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.

3 participants