From 62fb50beed8081dfe3a9284e79bd9c22f8a2694a Mon Sep 17 00:00:00 2001 From: Josh Wilson Date: Thu, 18 Jan 2024 14:25:16 +0100 Subject: [PATCH] fix: use quic --- src/lib.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a0d7dc03..bc56af26 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -437,7 +437,10 @@ impl TestnetDeploy { )?; let node_info = parse_output(output)?; - let multiaddr = format!("/ip4/{}/tcp/12000/p2p/{}", genesis_ip, node_info.peer_id); + let multiaddr = format!( + "/ip4/{}/udp/12000/quic-v1/p2p/{}", + genesis_ip, node_info.peer_id + ); // The genesis_ip is obviously inside the multiaddr, but it's just being returned as a // separate item for convenience. Ok((multiaddr, genesis_ip))