diff options
Diffstat (limited to 'src/transport/identity.rs')
| -rw-r--r-- | src/transport/identity.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/identity.rs b/src/transport/identity.rs index 432348e..c597d77 100644 --- a/src/transport/identity.rs +++ b/src/transport/identity.rs @@ -540,6 +540,11 @@ impl Transport for IdentityTransport { self.shared.paths.transports() } + /// Each transport those with its scheme, without it (`Paths::learn_relays`). + fn learn_relays(&self, addresses: &[String]) { + self.shared.paths.learn_relays(addresses); + } + /// The address `encode` picks, the transport's connection there, and every path /// to `peer` as paths measures it, best first. fn destination(&self, peer: &str) -> Option<Destination> { |
