Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
remote-helper: Fix key-mismatch error
cloudhead committed 1 year ago
commit 38592955b25c03f357460d71ad0d56e7188f03cf
parent 92c9e21873be1c9107f906f826d4774a8a950d79
1 file changed +1 -1
modified radicle-remote-helper/src/push.rs
@@ -169,7 +169,7 @@ pub fn run(
    let nid = url.namespace.ok_or(Error::NoKey).and_then(|ns| {
        (profile.public_key == ns)
            .then_some(ns)
-
            .ok_or(Error::KeyMismatch(profile.public_key.into()))
+
            .ok_or(Error::KeyMismatch(ns.into()))
    })?;
    let signer = profile.signer()?;
    let mut line = String::new();