mirror of
https://github.com/tendermint/tendermint.git
synced 2026-04-16 21:57:00 +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.