mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 16:37:57 +00:00
Remove development TODO from public doc comment (#7485)
* Remove development TODO from public doc comment * Update frame/system/src/offchain.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -376,9 +376,6 @@ impl<T: SigningTypes> Clone for Account<T> where
|
||||
/// The point of this trait is to be able to easily convert between `RuntimeAppPublic`, the wrapped
|
||||
/// (generic = non application-specific) crypto types and the `Public` type required by the runtime.
|
||||
///
|
||||
/// TODO [#5662] Potentially use `IsWrappedBy` types, or find some other way to make it easy to
|
||||
/// obtain unwrapped crypto (and wrap it back).
|
||||
///
|
||||
/// Example (pseudo-)implementation:
|
||||
/// ```ignore
|
||||
/// // im-online specific crypto
|
||||
@@ -392,6 +389,8 @@ impl<T: SigningTypes> Clone for Account<T> where
|
||||
/// type Public = MultiSigner: From<sr25519::Public>;
|
||||
/// type Signature = MulitSignature: From<sr25519::Signature>;
|
||||
/// ```
|
||||
// TODO [#5662] Potentially use `IsWrappedBy` types, or find some other way to make it easy to
|
||||
// obtain unwrapped crypto (and wrap it back).
|
||||
pub trait AppCrypto<Public, Signature> {
|
||||
/// A application-specific crypto.
|
||||
type RuntimeAppPublic: RuntimeAppPublic;
|
||||
|
||||
Reference in New Issue
Block a user