Skip to content

Conversation

@StephenButtolph
Copy link

Why this should be merged

This enforces an assumption that is currently made by VerifyRangeProof. If a key is a prefix of another key, the current code can panic.

How this works

Enforces all keys have the same length.

How this was tested

Added a unit test.

@StephenButtolph StephenButtolph merged commit 86a2fa8 into main Apr 10, 2025
11 checks passed
@StephenButtolph StephenButtolph deleted the StephenButtolph/range-proof-verification branch April 10, 2025 18:14
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