Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix ledger signature #7

Merged
merged 2 commits into from
Jun 6, 2023
Merged

fix ledger signature #7

merged 2 commits into from
Jun 6, 2023

Conversation

ksamarin90
Copy link
Member

Original issue: ethereum/go-ethereum#19751 (comment)
Ledger uses canonical v values - {0, 1}. Ethereum supports {27, 28}.
ethers.utils.splitSignature automatically handles such cases and substitute 0 to 27, 1 to 28.

@ksamarin90 ksamarin90 self-assigned this Jun 6, 2023
@ksamarin90 ksamarin90 changed the title fix ledger via metamask fix ledger signature via metamask Jun 6, 2023
@ksamarin90 ksamarin90 changed the title fix ledger signature via metamask fix ledger signature Jun 6, 2023
@ElKornacio ElKornacio merged commit 9832a41 into v2 Jun 6, 2023
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