mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-27 15:40:36 +08:00
Always checksum addresses in wallet-connect
Signed-off-by: Alexis Sellier <self@cloudhead.io>
This commit is contained in:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user