Skip to content

Commit

Permalink
fix sdk 1.7.0 runtime build (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Feb 28, 2024
1 parent 20b35d1 commit 79c7f85
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion primitives/src/ceremonies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ use parity_scale_codec::{Decode, Encode, MaxEncodedLen};
use scale_info::TypeInfo;
#[cfg(feature = "serde_derive")]
use serde::{Deserialize, Serialize};
use sp_core::{Pair, RuntimeDebug};
#[cfg(any(feature = "std", feature = "full_crypto"))]
use sp_core::Pair;
use sp_core::RuntimeDebug;
use sp_runtime::traits::{IdentifyAccount, Verify};
#[cfg(not(feature = "std"))]
use sp_std::vec::Vec;
Expand Down Expand Up @@ -245,6 +247,7 @@ where
)
}

#[cfg(any(feature = "std", feature = "full_crypto"))]
pub fn signed<Signer>(
prover_public: AccountIdFor<Signature>,
cid: CommunityIdentifier,
Expand Down

0 comments on commit 79c7f85

Please sign in to comment.