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 68c374faa4..a7d50d68ff 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 customNet() { + public Request netServices() { 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/JsonRequestFactories.java b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/JsonRequestFactories.java index de6cf2b0a4..6efaf7b865 100644 --- a/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/JsonRequestFactories.java +++ b/acceptance-tests/src/test/java/tech/pegasys/pantheon/tests/acceptance/dsl/transaction/JsonRequestFactories.java @@ -71,7 +71,7 @@ public AdminJsonRpcRequestFactory admin() { return admin; } - public CustomNetJsonRpcRequestFactory netServices() { + public CustomNetJsonRpcRequestFactory customNet() { return customNet; } 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 5be290add3..06fa6a7e18 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 @@ -29,9 +29,9 @@ public Map> execute(final JsonRequestFactories reque CustomNetJsonRpcRequestFactory.NetServicesResponse netServicesResponse = null; try { final CustomNetJsonRpcRequestFactory netServicesJsonRpcRequestFactory = - requestFactories.netServices(); + requestFactories.customNet(); final Request request = - netServicesJsonRpcRequestFactory.customNet(); + netServicesJsonRpcRequestFactory.netServices(); netServicesResponse = request.send(); } catch (final Exception e) {