Skip to content

Conversation

@tqk2811
Copy link
Contributor

@tqk2811 tqk2811 commented Mar 24, 2025

Status Type ⚠️ Core Change Issue
Ready Bug No

Problem

Create IRpcClient with param HttpClient not set HttpClient.BaseAddress cause request failed

Solution

_httpClient = httpClient ?? new HttpClient { BaseAddress = NodeAddress };

- _httpClient = httpClient ?? new HttpClient { BaseAddress = NodeAddress };
+ _httpClient = httpClient ?? new HttpClient();
+ _httpClient.BaseAddress = NodeAddress;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants