Skip to content

Commit 37ee098

Browse files
n13dastansam
andauthored
Revert feature flags (#249)
* Revert feature flags * Proper fix for full_crypto --------- Co-authored-by: Dastan <88332432+dastansam@users.noreply.github.com>
1 parent a49b142 commit 37ee098

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

primitives/dilithium-crypto/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ serde = [
4444
]
4545
std = [
4646
"codec/std",
47+
"full_crypto",
4748
"qp-poseidon/std",
4849
"qp-rusty-crystals-hdwallet",
4950
"scale-info/std",

primitives/dilithium-crypto/src/pair.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ impl Pair for DilithiumPair {
5353
DilithiumPair::from_seed(seed).map_err(|_| SecretStringError::InvalidSeed)
5454
}
5555

56-
#[cfg(any(feature = "full_crypto", feature = "serde"))]
56+
#[cfg(feature = "full_crypto")]
5757
fn sign(&self, message: &[u8]) -> DilithiumSignatureWithPublic {
5858
// Create keypair struct
5959

0 commit comments

Comments
 (0)