Skip to content

Commit

Permalink
fix: use quic
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuef committed Jan 18, 2024
1 parent b684e73 commit 62fb50b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 62fb50b

Please sign in to comment.