From caccbdfa037c5404b2dbdf0057fac85cf77459b7 Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Wed, 18 May 2022 15:45:03 +0200 Subject: [PATCH] Always checksum addresses in wallet-connect Signed-off-by: Alexis Sellier --- src/WalletConnectSigner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WalletConnectSigner.ts b/src/WalletConnectSigner.ts index 10e1e6445..a885a0243 100644 --- a/src/WalletConnectSigner.ts +++ b/src/WalletConnectSigner.ts @@ -28,7 +28,7 @@ export class WalletConnectSigner extends ethers.Signer { "The connected wallet has no accounts or there is a connection problem" ); } - return accountAddress; + return ethers.utils.getAddress(accountAddress); } async _signTypedData(domain: TypedDataDomain, types: Record>, value: Record): Promise {