Skip to content

Commit

Permalink
Fix ddc-primitives missing import build error
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Nov 11, 2024
1 parent 400f180 commit fc5f2eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions primitives/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@ pub mod sr25519 {
mod app_sr25519 {
use sp_application_crypto::{app_crypto, sr25519};

use crate::DAC_VERIFICATION_KEY_TYPE;
use crate::{String, DAC_VERIFICATION_KEY_TYPE};

app_crypto!(sr25519, DAC_VERIFICATION_KEY_TYPE);
}

Expand All @@ -342,7 +343,8 @@ pub mod crypto {
MultiSignature, MultiSigner,
};

use super::DAC_VERIFICATION_KEY_TYPE;
use crate::{String, DAC_VERIFICATION_KEY_TYPE};

app_crypto!(sr25519, DAC_VERIFICATION_KEY_TYPE);
pub struct OffchainIdentifierId;
impl frame_system::offchain::AppCrypto<MultiSigner, MultiSignature> for OffchainIdentifierId {
Expand Down

0 comments on commit fc5f2eb

Please sign in to comment.