aboutsummaryrefslogtreecommitdiffstats
path: root/jsonrpc.cpp
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-18 18:46:57 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2014-11-18 18:46:57 +0800
commit65298a96554fb400d6065fe059f736b9ac45a498 (patch)
treed8240d3e874f1317f1291fb872eb95007bebce3e /jsonrpc.cpp
parent1d278d28575866f9d001fea75776fbd61cb2e3ce (diff)
downloaddexon-solidity-65298a96554fb400d6065fe059f736b9ac45a498.tar.gz
dexon-solidity-65298a96554fb400d6065fe059f736b9ac45a498.tar.zst
dexon-solidity-65298a96554fb400d6065fe059f736b9ac45a498.zip
common changes
Diffstat (limited to 'jsonrpc.cpp')
-rw-r--r--jsonrpc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/jsonrpc.cpp b/jsonrpc.cpp
index 4c748a95..727791f6 100644
--- a/jsonrpc.cpp
+++ b/jsonrpc.cpp
@@ -29,8 +29,8 @@
#include <libwebthree/WebThree.h>
#include <libweb3jsonrpc/WebThreeStubServer.h>
#include <libweb3jsonrpc/CorsHttpServer.h>
-#include <jsonrpc/connectors/httpserver.h>
-#include <jsonrpc/connectors/httpclient.h>
+#include <jsonrpccpp/server/connectors/httpserver.h>
+#include <jsonrpccpp/client/connectors/httpclient.h>
#include <set>
#include "JsonSpiritHeaders.h"
#include "TestHelper.h"
@@ -61,11 +61,11 @@ struct Setup
web3->setIdealPeerCount(5);
web3->ethereum()->setForceMining(true);
- jsonrpcServer = unique_ptr<WebThreeStubServer>(new WebThreeStubServer(new jsonrpc::CorsHttpServer(8080), *web3, {}));
+ jsonrpcServer = unique_ptr<WebThreeStubServer>(new WebThreeStubServer(jsonrpc::CorsHttpServer(8080), *web3, {}));
jsonrpcServer->setIdentities({});
jsonrpcServer->StartListening();
- jsonrpcClient = unique_ptr<WebThreeStubClient>(new WebThreeStubClient(new jsonrpc::HttpClient("http://localhost:8080")));
+ jsonrpcClient = unique_ptr<WebThreeStubClient>(new WebThreeStubClient(jsonrpc::HttpClient("http://localhost:8080")));
}
};