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: panic when the response is nil #23

Merged
merged 1 commit into from Mar 29, 2023

Conversation

mission-liao
Copy link

It doesn panic sometimes, this change is copied from btcd@master(718d268) directly. Should be able to merge without risk.

This change is copied from btcd@master(718d268) directly
@losh11 losh11 merged commit 48461b6 into ltcsuite:master Mar 29, 2023
jReq.responseChan <- &Response{
err: fmt.Errorf("invalid http POST response (nil), "+
"method: %s, id: %d, last error=%v",
jReq.method, jReq.id, lastErr),
Copy link

Choose a reason for hiding this comment

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

Looks like this diff did not cherry-pick cleanly. Some prerequisite commits were not included:
btcsuite#1856 and btcsuite#1862 both preceeded this

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