mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 03:31:05 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user