Skip to content

Commit

Permalink
Update OkHttpJsonRpcClientProvider.java
Browse files Browse the repository at this point in the history
fix request failure issue
  • Loading branch information
nacrit authored and GrapeBaBa committed Jan 30, 2024
1 parent d62cfdf commit 907216c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public CompletableFuture<JsonRpc20Response<?>> call(
RequestBody.create(requestBodyJsonStr, MediaType.get("application/json; charset=utf-8"));
okhttpRequest =
new Request.Builder()
.url(String.format("%s%s", this.baseUrl, url))
.url(this.baseUrl) // fix request failure issue
.post(requestBody)
.build();
} catch (Throwable throwable) {
Expand Down

0 comments on commit 907216c

Please sign in to comment.