Skip to content

Conversation

@GarmashAlex
Copy link
Contributor

Problem: The point_mul function in bip-0328/_xpub.py used a parameter named n, shadowing the global curve order n. The global n is currently unused in this file, making it dead code and creating confusion.
Fix: Renamed the point_mul parameter to scalar and updated internal references to remove shadowing and improve clarity, preparing the module for future BIP32 range checks that will use the global n. No changes were made to BIP reference files where this naming is intentional.

Copy link
Contributor

@murchandamus murchandamus left a comment

Choose a reason for hiding this comment

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

This is not a meaningful improvement. Please do not open trivial PRs to this repository. LLM use is explicitly unwelcome in this repository.

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.

2 participants