Function polkadot_sdk_frame::runtime::apis::sign_message
pub fn sign_message<H, N>(
keystore: Arc<dyn Keystore>,
message: Message<H, N>,
public: Public,
round: u64,
set_id: u64,
) -> Option<SignedMessage<H, N, Signature, Public>>
Expand description
Localizes the message to the given set and round and signs the payload.