Skip to content

Conversation

@jhkimqd
Copy link
Contributor

@jhkimqd jhkimqd commented Jan 19, 2026

Description

  • Replace privateKey.D.Bytes() which strips leading zeros with crypto.FromECDSA(privateKey)). This fixes an issue where some seed values (which are varied with datetime) would result in some private keys with less than 32 bytes

Signed-off-by: Ji Hwan <jkim@polygon.technology>
@jhkimqd jhkimqd enabled auto-merge January 19, 2026 02:57
Copy link
Member

@leovct leovct left a comment

Choose a reason for hiding this comment

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

lgtm

@jhkimqd jhkimqd merged commit 03e439b into main Jan 19, 2026
15 checks passed
@jhkimqd jhkimqd deleted the fix/fund-private-keys branch January 19, 2026 08:24
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