You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Requesting a signature using personal_sign or web3.personal.sign opens a dialog that has a dropdown in the top left corner to change accounts. Selecting a different account does not change which account signs the message; the account provided to personal_sign will be the one signing. This is potentially misleading as a user could interpret the dropdown as changing which account will sign the message.
To Reproduce
Steps to reproduce the behavior:
Call web3.personal.sign(<message>, <account A>)
Select <account B> in the top left dropdown
Click 'sign'
Derive public address from signature: <account A>
Expected behavior
Account dropdown should either not be visible, or not be clickable / changeable
Browser details
Chrome v71
MetaMask v5.3.1
The text was updated successfully, but these errors were encountered:
Describe the bug
Requesting a signature using
personal_sign
orweb3.personal.sign
opens a dialog that has a dropdown in the top left corner to change accounts. Selecting a different account does not change which account signs the message; the account provided topersonal_sign
will be the one signing. This is potentially misleading as a user could interpret the dropdown as changing which account will sign the message.To Reproduce
Steps to reproduce the behavior:
web3.personal.sign(<message>, <account A>)
<account B>
in the top left dropdown<account A>
Expected behavior
Account dropdown should either not be visible, or not be clickable / changeable
Browser details
The text was updated successfully, but these errors were encountered: