Skip to content

Commit

Permalink
Enable quic
Browse files Browse the repository at this point in the history
  • Loading branch information
ligustah committed Apr 29, 2024
1 parent 7a1ee08 commit 385af77
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/p2p.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,8 @@ impl SwarmController {
pub async fn run(&mut self, port: u64, listen_ip: String) -> eyre::Result<()> {
self.swarm
.listen_on(format!("/ip4/{listen_ip}/tcp/{port}").parse()?)?;
self.swarm
.listen_on(format!("/ip4/{listen_ip}/udp/{port}/quic-v1").parse()?)?;

let registry_topic = announce_topic();
self.swarm
Expand Down

0 comments on commit 385af77

Please sign in to comment.