From 80b133e3a80bf078170ade3d998221f5d0a80716 Mon Sep 17 00:00:00 2001 From: command-bot <> Date: Thu, 29 Feb 2024 17:23:34 +0000 Subject: [PATCH] ".git/.scripts/commands/fmt/fmt.sh" --- substrate/primitives/core/Cargo.toml | 2 +- substrate/primitives/core/src/ecdsa.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/primitives/core/Cargo.toml b/substrate/primitives/core/Cargo.toml index 0cde9085c671..c59b9589594a 100644 --- a/substrate/primitives/core/Cargo.toml +++ b/substrate/primitives/core/Cargo.toml @@ -131,12 +131,12 @@ serde = [ "bs58/alloc", "dep:serde", "impl-serde", + "k256/serde", "primitive-types/serde_no_std", "scale-info/serde", "secrecy/alloc", "sp-crypto-hashing", "sp-storage/serde", - "k256/serde" ] # This feature enables all crypto primitives for `no_std` builds like microcontrollers diff --git a/substrate/primitives/core/src/ecdsa.rs b/substrate/primitives/core/src/ecdsa.rs index c463b3cf885b..3b9a2568dd0b 100644 --- a/substrate/primitives/core/src/ecdsa.rs +++ b/substrate/primitives/core/src/ecdsa.rs @@ -28,7 +28,7 @@ use crate::crypto::{ }; #[cfg(feature = "full_crypto")] use crate::crypto::{DeriveError, DeriveJunction, Pair as TraitPair, SecretStringError}; -use k256::ecdsa::{VerifyingKey}; +use k256::ecdsa::VerifyingKey; #[cfg(feature = "full_crypto")] use k256::ecdsa::{RecoveryId, SigningKey}; #[cfg(feature = "serde")]