(action: &str, timestamp_secs: u64, signer: &PrivateKeySigner)
| 68 | .recover_address_from_msg(message.as_bytes()) |
| 69 | .map_err(|_| RpcError::InvalidSignature)?; |
| 70 | |
| 71 | if &recovered != expected { |
| 72 | return Err(RpcError::InvalidSignature); |
| 73 | } |
| 74 | |
| 75 | Ok(()) |
| 76 | } |
| 77 |
no outgoing calls