Compare commits
1 Commits
b5e5aa838a
...
b884506ac3
Author | SHA1 | Date | |
---|---|---|---|
b884506ac3 |
@ -343,8 +343,7 @@ impl BrainCli for BrainCliMock {
|
||||
&self,
|
||||
req: Request<Pubkey>,
|
||||
) -> Result<Response<InspectOperatorResp>, Status> {
|
||||
let req = check_sig_from_req(req)?;
|
||||
match self.data.inspect_operator(&req.pubkey) {
|
||||
match self.data.inspect_operator(&req.into_inner().pubkey) {
|
||||
Some(op) => Ok(Response::new(op.into())),
|
||||
None => Err(Status::not_found(
|
||||
"The wallet you specified is not an operator",
|
||||
|
Loading…
Reference in New Issue
Block a user