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

rpcclient: cherry-pick prereq fixes #29

Merged
merged 4 commits into from Mar 29, 2023
Merged

Conversation

chappjc
Copy link

@chappjc chappjc commented Mar 29, 2023

#23 was missing some prerequisite commits. This adds them.

This commit fixes the error that is masked inside the for loop's scope.
Previously after max retries the error didn't leave the for scope and
therefore httpResponse remained nil which in turn resulted in a crash.
This commit removes Sleep() from the rety handler so that the shutdown
request is always respected. Furthermore the maximum retry count is corrected.
@losh11 losh11 merged commit 1ea035d into ltcsuite:master Mar 29, 2023
2 of 3 checks passed
@chappjc chappjc deleted the missing-lasterr branch April 1, 2023 03:09
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.

None yet

3 participants