The example on https://docs.iroh.computer/deployment/dedicated-infrastructure does
let endpoint = Endpoint::builder()
.relay_mode(iroh::endpoint::RelayMode::Custom(vec![relay_url1, relay_url2]))
.bind()
.await?;
If I'm not mistaken this is wrong, it should be
.relay_mode(RelayMode::Custom(RelayMap::from_iter([relay_url1, relay_url2])))
i.e. the RelayMap::from_iter is missing?
The example on https://docs.iroh.computer/deployment/dedicated-infrastructure does
If I'm not mistaken this is wrong, it should be
i.e. the
RelayMap::from_iteris missing?