Skip to content

Commit

Permalink
always sign address in lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
zkokelj committed Sep 21, 2023
1 parent 877babd commit fd278a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/walletextension/api/staticOG/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ async function authenticateAccountWithObscuroGateway(ethereum, account, userID)
return "Account is already authenticated"
}

const textToSign = "Register " + userID + " for " + account;
const textToSign = "Register " + userID + " for " + account.toLowerCase();
const signature = await ethereum.request({
method: metamaskPersonalSign,
params: [textToSign, account]
Expand Down

0 comments on commit fd278a8

Please sign in to comment.