fix check warnings

This commit is contained in:
James Wilson
2024-10-22 14:30:04 +01:00
parent 61b9545288
commit c8e6722a03
2 changed files with 4 additions and 11 deletions
+1 -2
View File
@@ -332,8 +332,7 @@ impl<T: Config> LegacyRpcMethods<T> {
public: Vec<u8>,
) -> Result<(), Error> {
let params = rpc_params![key_type, suri, Bytes(public)];
self.client.request("author_insertKey", params).await?;
Ok(())
self.client.request("author_insertKey", params).await
}
/// Generate new session keys and returns the corresponding public keys.