mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-28 10:57:56 +00:00
Make public key mandatory in insert_key (#3512)
This commit is contained in:
@@ -44,8 +44,8 @@ pub trait AuthorApi<Hash, BlockHash> {
|
||||
fn insert_key(&self,
|
||||
key_type: String,
|
||||
suri: String,
|
||||
maybe_public: Option<Bytes>
|
||||
) -> Result<Bytes>;
|
||||
public: Bytes,
|
||||
) -> Result<()>;
|
||||
|
||||
/// Generate new session keys and returns the corresponding public keys.
|
||||
#[rpc(name = "author_rotateKeys")]
|
||||
|
||||
Reference in New Issue
Block a user