diff --git a/node/rpcstack.go b/node/rpcstack.go index 20d488b734..cc4af5d6b4 100644 --- a/node/rpcstack.go +++ b/node/rpcstack.go @@ -473,7 +473,7 @@ func (h *virtualHostHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) { h.next.ServeHTTP(w, r) return } - if _, exist := h.vhosts[host]; exist { + if _, exist := h.vhosts[strings.ToLower(host)]; exist { h.next.ServeHTTP(w, r) return }