diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-04-05 15:43:32 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-04-05 15:43:32 +0800 |
commit | ed92f116f72646e73613afc2f2e7b83472a61434 (patch) | |
tree | 6c6d3cf414e21ee37d93e30e782ec028ff0144f8 /node | |
parent | 6a185531d2cd2003bb4352c391f9dca023894d5a (diff) | |
parent | f7328c5ecbd1076582a71ef7bf436485f3868b1f (diff) | |
download | go-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 'node')
-rw-r--r-- | node/node.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/node.go b/node/node.go index 7d3a10874..62cc3895b 100644 --- a/node/node.go +++ b/node/node.go @@ -303,7 +303,7 @@ func (n *Node) startIPC(apis []rpc.API) error { glog.V(logger.Error).Infof("IPC accept failed: %v", err) continue } - go handler.ServeCodec(rpc.NewJSONCodec(conn)) + go handler.ServeCodec(rpc.NewJSONCodec(conn), rpc.OptionMethodInvocation | rpc.OptionSubscriptions) } }() // All listeners booted successfully |