Wallet Signer calculates wrong account when provided 64-byte private key buffer #2926
Labels
bug
Verified to be an issue.
fixed/complete
This Bug is fixed or Enhancement is complete and published.
Ethers Version
5.6.4
Search Terms
wallet, sign
Describe the Problem
Please see the code snippet, it's all explained there.
My expected behaviour would be to throw an error when the provided private key is not the correct size.
Thank you to @Mrtenz for debugging the error.
Code Snippet
Contract ABI
No response
Errors
No response
Environment
Browser (Chrome, Safari, etc)
Environment (Other)
No response
The text was updated successfully, but these errors were encountered: