Use `eth_signTypedData_v3` as it has broader wallet support

This commit is contained in:
Franck Royer 2021-08-18 16:41:45 +10:00
parent 16b79306d5
commit 7d738c787c
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export async function signEncryptionKey(
const msgParams = buildMsgParams(encryptionPublicKey, fromAddress);
const result = await providerRequest({
method: 'eth_signTypedData_v4',
method: 'eth_signTypedData_v3',
params: [fromAddress, msgParams],
from: fromAddress,
});