Skip to content
New issue

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

Fix updating of pending transactions #5431

Merged
merged 2 commits into from
Oct 5, 2018
Merged

Conversation

danfinlay
Copy link
Contributor

Transaction statuses were not being properly updated when:

  • MetaMask was unlocked
  • The network was changed

This PR fixes both of those. Fixes #5174

This meant if you had a pending tx that was mined while either locked or on a different network, metamask would seemingly never update that transaction's status.

Transaction statuses were not being properly updated when:

- MetaMask was unlocked
- The network was changed

This PR fixes both of those. Fixes #5174
@danfinlay danfinlay requested a review from tmashuang October 4, 2018 22:59
@danfinlay danfinlay requested a review from frankiebee as a code owner October 4, 2018 22:59
@metamaskbot
Copy link
Collaborator

Builds ready [80d7bd6]: mascara, chrome, firefox, edge, opera

Copy link
Contributor

@whymarrh whymarrh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we drop the package-lock.json changes from this PR? (From the GitHub UI we should be able to use the trash icon maybe.)

@danfinlay
Copy link
Contributor Author

@whymarrh the trash icon was to remove the file entirely. I made a new commit checking out the develop package-lock to get the desired result.

@metamaskbot
Copy link
Collaborator

Builds ready [ee7788f]: mascara, chrome, firefox, edge, opera

@danfinlay danfinlay merged commit 99045d4 into develop Oct 5, 2018
@danfinlay danfinlay deleted the i5174-UpdatePendingTxs branch October 5, 2018 17:35
whymarrh added a commit to whymarrh/metamask-extension that referenced this pull request Apr 28, 2020
whymarrh added a commit that referenced this pull request Apr 29, 2020
* Don't updatePendingTxs outside of block updates

Refs #8377

Reverts 507397f (#5431)

* Check for new block data on unlock
Gudahtt pushed a commit that referenced this pull request Apr 30, 2020
Backport #8445 to v7.7.9. Original commit description:

* Don't updatePendingTxs outside of block updates

Refs #8377

Reverts 507397f (#5431)

* Check for new block data on unlock
Gudahtt added a commit that referenced this pull request Apr 30, 2020
…8474)

Backport #8445 to v7.7.9. Original commit description:

* Don't updatePendingTxs outside of block updates

Refs #8377

Reverts 507397f (#5431)

* Check for new block data on unlock

Co-authored-by: Whymarrh Whitby <whymarrh.whitby@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pending txs can stop polling and won't update even after actually mined
3 participants