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 authored and GitHub committed 2020-02-10 09:26:09 +01:00
1 parent 916a3392b2
commit 376deef36f
2 files changed
+4 -1

No files matched your search

@@ -23,3 +23,6 @@ std = [
"sp-api/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.
#[cfg(feature = "std")]
#[cfg(any(feature = "std", feature = "full_crypto"))]
pub type AuthorityPair = app::Pair;
/// Identity of a Grandpa authority.