-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update public address handling in P2P initialization
Add logic to fetch and set public address if not provided. This includes making an HTTP request to get the public IP and updating the address port to match the listen address. This ensures the P2P node can correctly identify and use its public address when not explicitly set.
- Loading branch information
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters