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:
Caio
2020-11-03 16:54:07 -03:00
committed by GitHub
parent 1fa7fed43a
commit 20d91a915f
+2 -3
View File
@@ -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;