Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

fix: Fix txStatus race condition in sendStore #381

Merged
merged 3 commits into from
Jan 23, 2019
Merged

Conversation

axelchalon
Copy link
Contributor

Might fix #379
Previously, we would resolve the promise and then set this.txStatus. However, resolving the promise actually redirects to Sent which expects txStatus to already be defined

Might fix #379
Previously, we would resolve the promise and then set `this.txStatus`. However, resolving the promise actually redirects to `Sent` which expects `txStatus` to already be defined
@axelchalon axelchalon changed the title Fix txStatus race condition in sendStore fix: Fix txStatus race condition in sendStore Jan 21, 2019
@Tbaut Tbaut requested a review from amaury1093 January 22, 2019 09:34
@ltfschoen ltfschoen self-requested a review January 22, 2019 21:13
Copy link
Contributor

@ltfschoen ltfschoen left a comment

Choose a reason for hiding this comment

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

LGTM

I just tried sending a transaction from a Parity Signer account and now when I click "View > Reload" from the menu when it displays "Sending Transaction..." in the UI, which appears after scanning all the QR codes and pressing "Send", it no longer displays the error and successfully takes me back to the Account List page.

I also just tried sending a transaction from a non-Parity Signer account and now when I click "View > Reload" from the menu when it displays "Sending Transaction..." in the UI, which appears after pressing "Confirm", it no longer displays the error and successfully takes me back to the Account List page.

@amaury1093 amaury1093 merged commit 9853448 into master Jan 23, 2019
@amaury1093 amaury1093 deleted the ac-txstatus branch January 23, 2019 09:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Cannot read property 'confirmed' of undefined
4 participants