Skip to content

Commit

Permalink
Export GRANDPA AuthorityPair when full_crypto is enabled (paritytech#…
Browse files Browse the repository at this point in the history
…4872)

* Export crypto_full feature in primitives/finality-grandpa

* Export GRANDPA AuthorityPair when full_crypto is enabled
  • Loading branch information
h4x3rotab committed Feb 10, 2020
1 parent 8d822da commit 19b67cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions primitives/finality-grandpa/Cargo.toml
Expand Up @@ -23,3 +23,6 @@ std = [
"sp-api/std",
"sp-runtime/std",
]
full_crypto = [
"app-crypto/full_crypto"
]
2 changes: 1 addition & 1 deletion primitives/finality-grandpa/src/lib.rs
Expand Up @@ -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.
Expand Down

0 comments on commit 19b67cd

Please sign in to comment.