From 381ea0c63d59916d99061ed0fb2ed61927c263fb Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 28 Oct 2026 11:34:56 +0100 Subject: consistently show addresses in /peers --- src/transport/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/transport/mod.rs') diff --git a/src/transport/mod.rs b/src/transport/mod.rs index 25ad56d..839476b 100644 --- a/src/transport/mod.rs +++ b/src/transport/mod.rs @@ -353,7 +353,8 @@ pub(crate) struct ListedPeer { #[derive(Debug, Clone, PartialEq, Serialize)] #[serde(rename_all = "camelCase")] pub(crate) struct Destination { - /// As the identity layer keeps it: `:`. + /// Where messages to the peer go: its best path, as paths show it (`Paths::location`; + /// `stats::PathInfo::address`). pub(crate) address: String, /// The peer proved itself there; else it is only said to be there, and sends wait /// for its proof. -- cgit v1.3.1