From b895b33e8eef1d55b7dc5c533e055413e30d3459 Mon Sep 17 00:00:00 2001 From: highlander Date: Mon, 6 Mar 2023 23:03:14 -0700 Subject: [PATCH] bump for v4 types data --- .../keepkey-desktop-app/src/kkdesktop/walletconnect/service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/keepkey-desktop-app/src/kkdesktop/walletconnect/service.ts b/packages/keepkey-desktop-app/src/kkdesktop/walletconnect/service.ts index a7b6e29d0..48ecd2390 100644 --- a/packages/keepkey-desktop-app/src/kkdesktop/walletconnect/service.ts +++ b/packages/keepkey-desktop-app/src/kkdesktop/walletconnect/service.ts @@ -180,7 +180,7 @@ export class LegacyWCService { }) const result = response?.serialized this.connector.approveRequest({ id: request.id, result }) - } else if (request.method === 'eth_signTypedData') { + } else if (request.method === 'eth_signTypedData' || request.method === 'eth_signTypedData_v4') { if (!this.wallet) throw Error('wallet not init!') if (!this.wallet.ethSignTypedData) throw Error('wallet not latest version ethSignTypedData!') // TODO: verify param[0] matches given address