Skip to content

Commit 2eba841

Browse files
committed
one more instance
1 parent 71026a5 commit 2eba841

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -212,23 +212,17 @@ impl SimpleSignature {
212212
/// zklogin-flag = %x05
213213
/// passkey-flag = %x06
214214
/// ```
215-
#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq, PartialOrd, Ord, derive_more::Display)]
215+
#[derive(Clone, Copy, Debug, Hash, PartialEq, Eq, PartialOrd, Ord, strum::Display)]
216+
#[strum(serialize_all = "lowercase")]
216217
#[cfg_attr(feature = "proptest", derive(test_strategy::Arbitrary))]
217218
#[repr(u8)]
218219
pub enum SignatureScheme {
219-
#[display("ed25519")]
220220
Ed25519 = 0x00,
221-
#[display("secp256k1")]
222221
Secp256k1 = 0x01,
223-
#[display("secp256r1")]
224222
Secp256r1 = 0x02,
225-
#[display("multisig")]
226223
Multisig = 0x03,
227-
#[display("bls12381")]
228224
Bls12381 = 0x04, // This is currently not supported for user addresses
229-
#[display("zklogin")]
230225
ZkLogin = 0x05,
231-
#[display("passkey")]
232226
Passkey = 0x06,
233227
}
234228

0 commit comments

Comments
 (0)