Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • Because I am using account 0 as default account and I deploy contract on remix with injected web3. At First I authorize account 1 and 2 as voters. Then on remix I change account 1 for transaction and this cause metamask popup and I select the account 1. Commented Jan 9, 2022 at 12:18
  • Then I try to vote and I get a revert error. So how I can make my transaction such that when I try to vote then I can choose the account to make transaction from metamask wallet. And when I choose the account and confirm the transaction the vote gets done. I am using web3.py Commented Jan 9, 2022 at 12:24