Skip to content

Commit

Permalink
Merge pull request #207 from lidofinance/okx-wallet
Browse files Browse the repository at this point in the history
Use the toLowerCase() of the wallet address
jake4take authored Dec 23, 2024
2 parents 89962f3 + 164329f commit 9c24643
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/wallets/src/metamask/metamask.page.ts
Original file line number Diff line number Diff line change
@@ -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();
});
}

2 changes: 1 addition & 1 deletion packages/wallets/src/okx/okx.page.ts
Original file line number Diff line number Diff line change
@@ -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();
});
}

0 comments on commit 9c24643

Please sign in to comment.