diff options
author | Bas van Kervel <basvankervel@ziggo.nl> | 2015-04-19 15:55:41 +0800 |
---|---|---|
committer | Bas van Kervel <basvankervel@ziggo.nl> | 2015-04-19 15:55:41 +0800 |
commit | 2c229bac003b30908fd0dc0d69d35044c6cb2425 (patch) | |
tree | 41da0fc1100f6e98ae0eeae2ce39ec6bd1401489 /rpc/http.go | |
parent | ead3dd9759c9cc8076ad716fe10cf641751b65b0 (diff) | |
download | go-tangerine-2c229bac003b30908fd0dc0d69d35044c6cb2425.tar go-tangerine-2c229bac003b30908fd0dc0d69d35044c6cb2425.tar.gz go-tangerine-2c229bac003b30908fd0dc0d69d35044c6cb2425.tar.bz2 go-tangerine-2c229bac003b30908fd0dc0d69d35044c6cb2425.tar.lz go-tangerine-2c229bac003b30908fd0dc0d69d35044c6cb2425.tar.xz go-tangerine-2c229bac003b30908fd0dc0d69d35044c6cb2425.tar.zst go-tangerine-2c229bac003b30908fd0dc0d69d35044c6cb2425.zip |
Replaced channel pointer field with non pointer channel
Diffstat (limited to 'rpc/http.go')
-rw-r--r-- | rpc/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http.go b/rpc/http.go index 882aff7ea..5ff4f613b 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -45,7 +45,7 @@ func Start(pipe *xeth.XEth, config RpcConfig) error { c := cors.New(opts) handler = NewStoppableHandler(c.Handler(JSONRPC(pipe)), l.stop) } else { - handler = JSONRPC(pipe) + handler = NewStoppableHandler(JSONRPC(pipe), l.stop) } go http.Serve(l, handler) |