Use TPU IP instead of gossip for QUIC client certificate info (#30105)

This commit is contained in:
Pankaj Garg 2023-02-02 20:16:57 -08:00 committed by GitHub
parent 3c922464d6
commit be8e463a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@ impl Validator {
let connection_cache = ConnectionCache::new_with_client_options(
tpu_connection_pool_size,
None,
Some((&identity_keypair, node.info.gossip.ip())),
Some((&identity_keypair, node.info.tpu.ip())),
Some((&staked_nodes, &identity_keypair.pubkey())),
);
Arc::new(connection_cache)