Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
salman01zp committed Jan 9, 2024
1 parent b28eb05 commit de09793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use parity_scale_codec::Encode;
use sc_service::{ChainType, Configuration};
use sp_core::{ecdsa, ed25519, sr25519, ByteArray, Pair, Public};
use sp_keystore::{Keystore, KeystorePtr};
use sp_runtime::{
key_types::{ACCOUNT, BABE, GRANDPA, IM_ONLINE},
KeyTypeId,
};

/// Helper function to generate a crypto pair from seed.
pub fn get_from_seed<TPublic: Public>(seed: &str) -> <TPublic::Pair as Pair>::Public {
TPublic::Pair::from_string(&format!("//{seed}"), None)
Expand Down

0 comments on commit de09793

Please sign in to comment.