Skip to content

Commit 21bd720

Browse files
committed
simplify features
1 parent 222f863 commit 21bd720

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

crates/iota-sdk-types/src/crypto/validator.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,15 +161,13 @@ pub struct ValidatorSignature {
161161
pub signature: Bls12381Signature,
162162
}
163163

164-
#[cfg(test)]
164+
#[cfg(all(feature = "serde", test))]
165165
mod test {
166166
#[cfg(target_arch = "wasm32")]
167167
use wasm_bindgen_test::wasm_bindgen_test as test;
168168

169-
#[cfg(feature = "serde")]
170169
use super::*;
171170

172-
#[cfg(feature = "serde")]
173171
#[test]
174172
fn aggregated_signature_fixture() {
175173
use base64ct::{Base64, Encoding};

0 commit comments

Comments
 (0)