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
thrownewError('Ledger: The signature doesnt match the right address')
}
returnsignature
I guest it minus 27 because it wants to recover the signer, but it forgot to return the original signature. The signature should be return 0x${payload.r}${payload.s}${payload.v}, not return signature
Hi, there.
We are receiving some illegal EIP712 signatures from the ledger wallet, the v is 0 or 1. As we know, v should be 27 or 28 as a valid EIP712 signature.
So I'm checking the source code as follows:
eth-ledger-bridge-keyring/index.js
Lines 417 to 430 in 9a87fac
I guest it minus 27 because it wants to recover the signer, but it forgot to return the original signature. The signature should be
return 0x${payload.r}${payload.s}${payload.v}
, notreturn signature
According to this MetaMask/metamask-extension#10240 (comment), I found some projects also have this issue.
So I think maybe we can fix the root cause?
The text was updated successfully, but these errors were encountered: