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

Commit

Permalink
netServices
Browse files Browse the repository at this point in the history
  • Loading branch information
smatthewenglish committed May 17, 2019
1 parent 8369f3b commit 22cb9f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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 @@ -31,7 +31,7 @@ public Map<String, Map<String, String>> execute(final JsonRequestFactories reque
final CustomNetJsonRpcRequestFactory netServicesJsonRpcRequestFactory =
requestFactories.netServices();
final Request<?, CustomNetJsonRpcRequestFactory.NetServicesResponse> request =
netServicesJsonRpcRequestFactory.customNet();
netServicesJsonRpcRequestFactory.netServices();

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

0 comments on commit 22cb9f2

Please sign in to comment.