You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constsignature="0xec4f73260ac14882e65995a09359896a0ae8f16bd0d28b0d9171655b4e85271e07cda040be059fdcbf52709e3c993eb50a89ce33f41617dc090dc80a583e3c4f00";constmessageToSign="I hereby confirm that I am the sole beneficial owner of the assets involved in the business relationship with Fiat24. \nI hereby undertake to inform Fiat24 proactively of any changes to the information contained herein."constaddress=web3.eth.accounts.recover(messageToSign,signature);
it can recover other signatures, but not this one
I tried the same messageToSign and signature, with web3 v1, ethers and viem and all can recover it correctly
only seems to fail with web3 v4
Also, I test this way: sign on 1.x and recover on 4.x, which works. Need to be investigated why it is not working for this signature. It was generated by web3.js 4.x + ledger
Expected behavior
Actual behavior
Steps to reproduce the behavior
[First step]
[Second step]
[and so on...]
Logs
Environment
The text was updated successfully, but these errors were encountered:
it can recover other signatures, but not this one
I tried the same messageToSign and signature, with web3 v1, ethers and viem and all can recover it correctly
only seems to fail with web3 v4
Also, I test this way: sign on 1.x and recover on 4.x, which works. Need to be investigated why it is not working for this signature. It was generated by web3.js 4.x + ledger
Expected behavior
Actual behavior
Steps to reproduce the behavior
Logs
Environment
The text was updated successfully, but these errors were encountered: