Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: Remove unnecessary clone()
Matthias Beyer committed 8 months ago
commit 23b9d30639ad7dffc18096b26bea48d4277137d0
parent 29a95fb1a6f606d05b27e52fed56a0ab26a06247
1 file changed +1 -1
modified crates/radicle/src/node/config.rs
@@ -496,7 +496,7 @@ impl Config {
    }

    pub fn peers(&self) -> impl Iterator<Item = NodeId> + '_ {
-
        self.connect.iter().cloned().map(|p| p.id)
+
        self.connect.iter().map(|p| p.0.id)
    }

    pub fn is_persistent(&self, id: &NodeId) -> bool {