remote-helper: Fix key-mismatch error
The error is about the remote namespace, so that's the one we should include.
This commit is contained in:
parent
92c9e21873
commit
38592955b2
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue