mirror of
https://github.com/tendermint/tendermint.git
synced 2026-02-04 11:02:06 +00:00
Fixes #4051 Function `parseRemoteAddr` is forcing protocol HTTP and protocol HTTPs to tcp. This causes the bug in the issue #4051. I find that the tcp is only needed where `net.Dial`. So I moved the switch to makeHTTPDialer. This is a backport to the v0.32 branch. Co-authored-by: yk <tankhoon@gmail.com> Co-authored-by: Anton Kaliaev <anton.kalyaev@gmail.com>