From 9d203b9222427b596dac974526252d927f77d94d Mon Sep 17 00:00:00 2001 From: "S. Matthew English" Date: Fri, 17 May 2019 12:19:36 -0400 Subject: [PATCH] customNet --- .../dsl/transaction/CustomNetJsonRpcRequestFactory.java | 2 +- .../acceptance/dsl/transaction/net/NetServicesTransaction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/CustomNetJsonRpcRequestFactory.java b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/CustomNetJsonRpcRequestFactory.java index a7d50d68ff..68c374faa4 100644 --- a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/CustomNetJsonRpcRequestFactory.java +++ b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/CustomNetJsonRpcRequestFactory.java @@ -29,7 +29,7 @@ public CustomNetJsonRpcRequestFactory(final Web3jService web3jService) { this.web3jService = web3jService; } - public Request netServices() { + public Request customNet() { return new Request<>( "net_services", Collections.emptyList(), web3jService, NetServicesResponse.class); } diff --git a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/net/NetServicesTransaction.java b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/net/NetServicesTransaction.java index 43178b6c13..5be290add3 100644 --- a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/net/NetServicesTransaction.java +++ b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/net/NetServicesTransaction.java @@ -31,7 +31,7 @@ public Map> execute(final JsonRequestFactories reque final CustomNetJsonRpcRequestFactory netServicesJsonRpcRequestFactory = requestFactories.netServices(); final Request request = - netServicesJsonRpcRequestFactory.netServices(); + netServicesJsonRpcRequestFactory.customNet(); netServicesResponse = request.send(); } catch (final Exception e) {