Export GRANDPA AuthorityPair when full_crypto is enabled (#4872)

* Export crypto_full feature in primitives/finality-grandpa

* Export GRANDPA AuthorityPair when full_crypto is enabled
This commit is contained in:
h4x3rotab
2020-02-10 16:26:09 +08:00
committed by GitHub
parent 916a3392b2
commit 376deef36f
2 changed files with 4 additions and 1 deletions
@@ -23,3 +23,6 @@ std = [
"sp-api/std", "sp-api/std",
"sp-runtime/std", "sp-runtime/std",
] ]
full_crypto = [
"app-crypto/full_crypto"
]
@@ -34,7 +34,7 @@ mod app {
} }
/// The grandpa crypto scheme defined via the keypair type. /// The grandpa crypto scheme defined via the keypair type.
#[cfg(feature = "std")] #[cfg(any(feature = "std", feature = "full_crypto"))]
pub type AuthorityPair = app::Pair; pub type AuthorityPair = app::Pair;
/// Identity of a Grandpa authority. /// Identity of a Grandpa authority.