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

tx_signer: fix retry-on-error behavior #181

Merged
merged 1 commit into from
Oct 19, 2020

Conversation

tony-iqlusion
Copy link
Member

Fixes the logic to retry failed transactions at a higher sequence number if the previous attempts to broadcast a transaction resulted in an error.

Prior to this commit, the logic was never triggered as it needed to store whether or not the prior transaction succeeded before performing a new one.

@codecov-io
Copy link

Codecov Report

Merging #181 into develop will decrease coverage by 0.04%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #181      +/-   ##
===========================================
- Coverage    22.77%   22.72%   -0.05%     
===========================================
  Files           63       63              
  Lines         2450     2455       +5     
===========================================
  Hits           558      558              
- Misses        1892     1897       +5     
Impacted Files Coverage Δ
src/tx_signer.rs 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cd1d7b8...3e89ae7. Read the comment docs.

Fixes the logic to retry failed transactions at a higher sequence number
if the previous attempts to broadcast a transaction resulted in an
error.

Prior to this commit, the logic was never triggered as it needed to
store whether or not the prior transaction succeeded before performing a
new one.
@tony-iqlusion tony-iqlusion merged commit 5fe7c60 into develop Oct 19, 2020
@tony-iqlusion tony-iqlusion deleted the fix-tx-retries-on-error branch October 19, 2020 13:38
@tony-iqlusion tony-iqlusion mentioned this pull request Oct 22, 2020
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.

2 participants