aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/http.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-04-05 15:43:32 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2016-04-05 15:43:32 +0800
commited92f116f72646e73613afc2f2e7b83472a61434 (patch)
tree6c6d3cf414e21ee37d93e30e782ec028ff0144f8 /rpc/http.go
parent6a185531d2cd2003bb4352c391f9dca023894d5a (diff)
parentf7328c5ecbd1076582a71ef7bf436485f3868b1f (diff)
downloadgo-tangerine-ed92f116f72646e73613afc2f2e7b83472a61434.tar
go-tangerine-ed92f116f72646e73613afc2f2e7b83472a61434.tar.gz
go-tangerine-ed92f116f72646e73613afc2f2e7b83472a61434.tar.bz2
go-tangerine-ed92f116f72646e73613afc2f2e7b83472a61434.tar.lz
go-tangerine-ed92f116f72646e73613afc2f2e7b83472a61434.tar.xz
go-tangerine-ed92f116f72646e73613afc2f2e7b83472a61434.tar.zst
go-tangerine-ed92f116f72646e73613afc2f2e7b83472a61434.zip
Merge pull request #2407 from bas-vk/rpc-notifications
RPC pub sub
Diffstat (limited to 'rpc/http.go')
-rw-r--r--rpc/http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/http.go b/rpc/http.go
index af3d29014..dd1ec2c01 100644
--- a/rpc/http.go
+++ b/rpc/http.go
@@ -126,7 +126,7 @@ func newJSONHTTPHandler(srv *Server) http.HandlerFunc {
// a single request.
codec := NewJSONCodec(&httpReadWriteNopCloser{r.Body, w})
defer codec.Close()
- srv.ServeSingleRequest(codec)
+ srv.ServeSingleRequest(codec, OptionMethodInvocation)
}
}