Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
999
Browse files Browse the repository at this point in the history
  • Loading branch information
smatthewenglish committed May 17, 2019
1 parent 9d203b9 commit bfd2078
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public CustomNetJsonRpcRequestFactory(final Web3jService web3jService) {
this.web3jService = web3jService;
}

public Request<?, NetServicesResponse> customNet() {
public Request<?, NetServicesResponse> netServices() {
return new Request<>(
"net_services", Collections.emptyList(), web3jService, NetServicesResponse.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public AdminJsonRpcRequestFactory admin() {
return admin;
}

public CustomNetJsonRpcRequestFactory netServices() {
public CustomNetJsonRpcRequestFactory customNet() {
return customNet;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ public Map<String, Map<String, String>> execute(final JsonRequestFactories reque
CustomNetJsonRpcRequestFactory.NetServicesResponse netServicesResponse = null;
try {
final CustomNetJsonRpcRequestFactory netServicesJsonRpcRequestFactory =
requestFactories.netServices();
requestFactories.customNet();
final Request<?, CustomNetJsonRpcRequestFactory.NetServicesResponse> request =
netServicesJsonRpcRequestFactory.customNet();
netServicesJsonRpcRequestFactory.netServices();

netServicesResponse = request.send();
} catch (final Exception e) {
Expand Down

0 comments on commit bfd2078

Please sign in to comment.