Skip to content

Commit

Permalink
Merge pull request #472 from Cerebellum-Network/fix/ddc-primitives-mi…
Browse files Browse the repository at this point in the history
…ssing-import

Fix `ddc-primitives` missing import check error
  • Loading branch information
yahortsaryk authored Nov 11, 2024
2 parents cd8c2b1 + fc5f2eb commit 266eefc
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 266eefc

Please sign in to comment.