fix(net): use test backoff durations in Testnet PeerConfig (#22222)

Co-authored-by: Amp <amp@ampcode.com>
This commit is contained in:
Georgios Konstantopoulos
2026-02-15 20:45:47 -08:00
committed by GitHub
parent 60d0430c2b
commit 7f5acc2723

View File

@@ -10,7 +10,7 @@ use crate::{
policy::NetworkPolicies,
TransactionsHandle, TransactionsManager, TransactionsManagerConfig,
},
NetworkConfig, NetworkConfigBuilder, NetworkHandle, NetworkManager,
NetworkConfig, NetworkConfigBuilder, NetworkHandle, NetworkManager, PeersConfig,
};
use futures::{FutureExt, StreamExt};
use pin_project::pin_project;
@@ -718,6 +718,7 @@ where
.discovery_addr(SocketAddr::V4(SocketAddrV4::new(Ipv4Addr::UNSPECIFIED, 0)))
.disable_dns_discovery()
.disable_discv4_discovery()
.peer_config(PeersConfig::test())
}
}