-
I've got a simple contract that fires an event when a method is called. On my ethers.js client in an html page I've got the following code executed when the page is loaded:
This works when the event is fired for the first time. However whenever I reload the page I am still getting the same event fired alert even though no new StartVote events have been performed. Any idea why is this? Is there a way for me to capture only new StartVote events (i.e only the ones that are fired after the page has been loaded) ? Please notice that I've asked the same question on stackoverflow on https://ethereum.stackexchange.com/questions/117469/ethers-js-event-firing-question but didn't get any answers! Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Found it. This is related to: #2310. After I used the fix there it works fine. |
Beta Was this translation helpful? Give feedback.
Found it. This is related to: #2310. After I used the fix there it works fine.