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

Return correct status for resubmitting old, failed transactions #969

Merged
merged 3 commits into from
Mar 1, 2019

Conversation

bartekn
Copy link
Contributor

@bartekn bartekn commented Mar 1, 2019

Since #875 POST /transactions returned 200 OK status for old, failed transactions (that are not present in core DB) if a node was ingesting failed transactions. This PR fixes the code responsible for checking the transaction status and returns correct HTTP code and response.

Copy link
Contributor

@poliha poliha left a comment

Choose a reason for hiding this comment

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

LGTM.
Will monitor when deployed

@bartekn bartekn merged commit 00c4639 into master Mar 1, 2019
@bartekn
Copy link
Contributor Author

bartekn commented Mar 1, 2019

OK, deploying to stg shortly.

@bartekn bartekn deleted the fix-status-old-transactions branch March 1, 2019 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants