-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
transport: Implement
TransportService::local_peer_id()
(#224)
Previously `local_peer_id` was declared `pub(crate)` which made it inaccessible to protocols implemented with `UserProtocol` Implement getter for local peer ID, allowing all protocols having access to `TransportService` to query the local peer ID Co-authored-by: Dmitry Markin <dmitry@markin.tech>
- Loading branch information
1 parent
86f2a30
commit 1fbbadd
Showing
2 changed files
with
10 additions
and
5 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
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