Skip to content

Commit

Permalink
Remove unused type.
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Sep 28, 2023
1 parent 69fa5fc commit 11d5099
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions substrate/client/rpc-api/src/author/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,6 @@ use sp_core::Bytes;
pub mod error;
pub mod hash;

/// Output of [`AuthorApi::rotate_keys_with_owner`].
#[derive(serde::Serialize, serde::Deserialize)]
pub struct GeneratedSessionKeys {
/// The public session keys for registering them on chain.
pub keys: Bytes,

/// The `proof` for verifying ownership of the generated session keys.
///
/// This will be `None` iff the chain doesn't support generating the `proof`.
#[serde(skip_serializing_if = "Option::is_none")]
#[serde(default)]
pub proof: Option<Bytes>,
}

/// Substrate authoring RPC API
#[rpc(client, server)]
pub trait AuthorApi<Hash, BlockHash> {
Expand Down

0 comments on commit 11d5099

Please sign in to comment.