forked from anza-xyz/agave
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bench-vote, vortexor: Fix build and lint errors (anza-xyz#4303)
* All `SocketConfig`'s fields are private, therefore it cannot be constructed with struct literal syntax. Fix that by constructing it with `default()` and calling `reuseport()`. * `SocketConfig` implements `Copy`, so an explicit `clone()` call is unnecessary. * `solana_net_utils::multi_bind_in_range` is deprecated. Use `mutli_bind_in_range_with_config` instead.
- Loading branch information
1 parent
34e5646
commit 6b3fcb0
Showing
2 changed files
with
8 additions
and
6 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