aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2018-02-12 21:12:55 +0800
committerMartin Holst Swende <martin@swende.se>2018-02-12 21:12:55 +0800
commit6c6247a690edbc9856b823fe9adfad6b43ce8e71 (patch)
treee9c9fced3d8f09c9d9752be653c8843bf3fdcfbb /rpc
parent589b603a9b1e17930d1e83ca64ce7cdc4c3d5c85 (diff)
downloadgo-tangerine-6c6247a690edbc9856b823fe9adfad6b43ce8e71.tar
go-tangerine-6c6247a690edbc9856b823fe9adfad6b43ce8e71.tar.gz
go-tangerine-6c6247a690edbc9856b823fe9adfad6b43ce8e71.tar.bz2
go-tangerine-6c6247a690edbc9856b823fe9adfad6b43ce8e71.tar.lz
go-tangerine-6c6247a690edbc9856b823fe9adfad6b43ce8e71.tar.xz
go-tangerine-6c6247a690edbc9856b823fe9adfad6b43ce8e71.tar.zst
go-tangerine-6c6247a690edbc9856b823fe9adfad6b43ce8e71.zip
node, rpc: fix linter issues
Diffstat (limited to 'rpc')
-rw-r--r--rpc/http.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/rpc/http.go b/rpc/http.go
index 277f093a2..a46d8c2b3 100644
--- a/rpc/http.go
+++ b/rpc/http.go
@@ -245,7 +245,6 @@ func (h *virtualHostHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
return
}
http.Error(w, "invalid host specified", http.StatusForbidden)
- return
}
func newVHostHandler(vhosts []string, next http.Handler) http.Handler {