diff --git a/lib/lib.go b/lib/lib.go index c2ca272..47837ec 100644 --- a/lib/lib.go +++ b/lib/lib.go @@ -23,7 +23,7 @@ var visited = struct { }{nodes: make(map[string]bool)} func FetchClient(nodeAddr string) (client *http.HTTP, err error) { - client, err = http.NewWithTimeout(nodeAddr, "websocket", 500) + client, err = http.New(nodeAddr, "websocket") if err != nil { return nil, err }