Skip to content
Snippets Groups Projects
Commit 376deef3 authored by h4x3rotab's avatar h4x3rotab Committed by GitHub
Browse files

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
parent 916a3392
Branches
No related merge requests found
......@@ -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.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment