Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

dApp fails to handle Metamask account switches #231

Open
cryptocrs opened this issue Jul 10, 2020 · 3 comments
Open

dApp fails to handle Metamask account switches #231

cryptocrs opened this issue Jul 10, 2020 · 3 comments
Labels
🐛 bug Something isn't working

Comments

@cryptocrs
Copy link

Purpose: Switch Metamask account before begining step 1. Throws the error:
WalletMiddleware - Invalid "from" address. { "originalError": {} }

Steps to reproduce -

  1. on metamask account 1.
  2. connect tBTC to metamask
  3. switch metamask account to account 2.
  4. begin now on step 1.
  5. throws an error.

image

Dev console logs -
tbtclog2.log

@cryptocrs
Copy link
Author

Looks like some fixes are going now related to this. It now prompts to switch account- good !!
Let me know once complete, I will do more testing.

@mhluongo mhluongo added the 👩‍⚕️triage Needs further attention and categorization label Jul 20, 2020
@Shadowfiend
Copy link
Contributor

Hey @chdru, try having a look now. Honestly I wouldn't be surprised if it still doesn't work, but I'm curious.

@Shadowfiend Shadowfiend changed the title Error Initiating deposit: WalletMiddleware - Invalid "from" address. { "originalError": {} } dApp fails to handle Metamask account switches Jul 24, 2020
@Shadowfiend Shadowfiend added 🐛 bug Something isn't working and removed 👩‍⚕️triage Needs further attention and categorization labels Jul 24, 2020
@cryptocrs
Copy link
Author

cryptocrs commented Jul 24, 2020

It now throws the below error -

image

Here is the console logs;
dapp.test.tbtc.network-metamask.log

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants