From 7f87949ec3224de23071ef5ccd0a6cafc241e9b1 Mon Sep 17 00:00:00 2001 From: Bas van Kervel Date: Thu, 15 Oct 2015 16:07:19 +0200 Subject: [PATCH] rpc: new RPC implementation with pub/sub support --- eth/backend.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eth/backend.go b/eth/backend.go index 5755253fae..0a69802ed2 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -266,10 +266,9 @@ func (s *Ethereum) Apis() []rpc.API { Service: core.NewPublicBlockChainApi(s.BlockChain(), s.AccountManager()), Public: true, }, rpc.API{ - Namespace: "eth", - Version: "1.0", - Service: core.NewPublicTransactionPoolApi(s.TxPool(), s.ChainDb(), s.BlockChain(), s.AccountManager()), - Public: true, + Version: "1.0", + Service: core.NewPublicTransactionPoolApi(s.TxPool(), s.ChainDb(), s.BlockChain(), s.AccountManager()), + Public: true, }, rpc.API{ Namespace: "eth", Version: "1.0",