mirror of https://github.com/waku-org/js-waku.git
Use `eth_signTypedData_v3` as it has broader wallet support
This commit is contained in:
parent
16b79306d5
commit
7d738c787c
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue