Skip to content

Remove redundant public key generation - #271

Merged
SnowCait merged 1 commit into
mainfrom
remove-redundant-get-public-key
Aug 25, 2026
Merged

SnowCait merged 1 commit into
mainfrom
remove-redundant-get-public-key

Conversation

@SnowCait

Copy link
Copy Markdown
Member

Summary

  • remove the redundant getPublicKey import and call from createEvent()
  • delegate public key generation, event ID generation, and signing entirely to finalizeEvent()
  • preserve existing key parsing and event behavior

Verification

  • npm run lint
  • npm test
  • npm run test:coverage
  • npm run package
  • npm run all

@SnowCait
SnowCait merged commit a499d4c into main Aug 25, 2026
4 checks passed
@SnowCait
SnowCait deleted the remove-redundant-get-public-key branch August 25, 2026 23:52
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