Always checksum addresses in wallet-connect

Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
Alexis Sellier
2022-05-18 15:45:47 +02:00
parent d1994fa310
commit caccbdfa03
+1 -1
View File
@@ -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<string, Array<TypedDataField>>, value: Record<string, any>): Promise<string> {