mirror of
https://github.com/waku-org/js-waku.git
synced 2025-01-11 21:15:01 +00:00
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 msgParams = buildMsgParams(encryptionPublicKey, fromAddress);
|
||||||
|
|
||||||
const result = await providerRequest({
|
const result = await providerRequest({
|
||||||
method: 'eth_signTypedData_v4',
|
method: 'eth_signTypedData_v3',
|
||||||
params: [fromAddress, msgParams],
|
params: [fromAddress, msgParams],
|
||||||
from: fromAddress,
|
from: fromAddress,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user