We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chromium
When working with the preview and changing accounts, the preview/dapp/superprovider always get setAccount() for the previously selected account.
setAccount()
window.web3.eth.accounts
this.web3.eth.getAccounts( function (err, res) {console.log("getAccounts", res)});
To get the currently selected account.
Always get the previously selected account.
Yes
The text was updated successfully, but these errors were encountered:
+ Fix SuperblocksHQ#86
b6b6f4a
+ Fix missing update of iframe content
Merge pull request #103 from bashlund/fix-86-superprovider-always-fed…
7c15465
…-with-previous-account Fix #86 - Superprovider always fed with previously selected account
bashlund
Successfully merging a pull request may close this issue.
Environment/Browser
Chromium
Description
When working with the preview and changing accounts, the preview/dapp/superprovider always get
setAccount()
for the previously selected account.Steps to reproduce
window.web3.eth.accounts
andthis.web3.eth.getAccounts( function (err, res) {console.log("getAccounts", res)});
)Expected result
To get the currently selected account.
Actual result
Always get the previously selected account.
Reproducable
Yes
The text was updated successfully, but these errors were encountered: