forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplifies ContactInfo.cache type to [SocketAddr; SOCKET_CACHE_SIZE] (#…
…4311) #4292 simplified ContactInfo::get_socket to just return Option<SocketAddr> instead of Result<SocketAddr, Error>. This commit simplifies ContactInfo.cache type to [SocketAddr; SOCKET_CACHE_SIZE] reducing the size of ContactInfo.
- Loading branch information
1 parent
a2e9762
commit 167bad7
Showing
1 changed file
with
24 additions
and
19 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