From 164329ff57a24fb59926d4ac0f5927b315859a01 Mon Sep 17 00:00:00 2001 From: jake Date: Mon, 23 Dec 2024 15:34:22 +0300 Subject: [PATCH] chore: use the toLowerCase() of the wallet address for OKX and MM wallets --- packages/wallets/src/metamask/metamask.page.ts | 2 +- packages/wallets/src/okx/okx.page.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/wallets/src/metamask/metamask.page.ts b/packages/wallets/src/metamask/metamask.page.ts index 1a1cbfd..b084c4f 100644 --- a/packages/wallets/src/metamask/metamask.page.ts +++ b/packages/wallets/src/metamask/metamask.page.ts @@ -244,7 +244,7 @@ export class MetamaskPage implements WalletPage { const address = await this.popoverElements.accountDetailAddressLabel.textContent(); await this.page.close(); - return getAddress(address); + return getAddress(address).toLowerCase(); }); } diff --git a/packages/wallets/src/okx/okx.page.ts b/packages/wallets/src/okx/okx.page.ts index 205c4e1..bf749f1 100644 --- a/packages/wallets/src/okx/okx.page.ts +++ b/packages/wallets/src/okx/okx.page.ts @@ -244,7 +244,7 @@ export class OkxPage implements WalletPage { await this.navigate(); const address = await this.homePage.getWalletAddress(); await this.page.close(); - return address; + return address.toLowerCase(); }); }