Skip to content

Commit

Permalink
Update gossip/src/contact_info.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Trent Nelson <[email protected]>
  • Loading branch information
behzadnouri and t-nelson authored Jan 12, 2023
1 parent 30980d1 commit c9a8be3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gossip/src/contact_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ const SOCKET_TAG_TPU_FORWARDS_QUIC: u8 = 8;
const SOCKET_TAG_TPU_VOTE: u8 = 9;
const SOCKET_TAG_TVU: u8 = 10;
const SOCKET_TAG_TVU_FORWARDS: u8 = 11;
#[cfg(test)]
static_assertions::const_assert_eq!(SOCKET_CACHE_SIZE, 12);
const SOCKET_CACHE_SIZE: usize = SOCKET_TAG_TVU_FORWARDS as usize + 1usize;

#[derive(Debug, Error)]
Expand Down

0 comments on commit c9a8be3

Please sign in to comment.