From de097937dcd216434c0b2f88b3e07e6017aada29 Mon Sep 17 00:00:00 2001 From: salman01zp Date: Tue, 9 Jan 2024 11:58:46 +0530 Subject: [PATCH] fix build --- node/src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/utils.rs b/node/src/utils.rs index 77643c6c9..95d42b170 100644 --- a/node/src/utils.rs +++ b/node/src/utils.rs @@ -1,3 +1,4 @@ +use parity_scale_codec::Encode; use sc_service::{ChainType, Configuration}; use sp_core::{ecdsa, ed25519, sr25519, ByteArray, Pair, Public}; use sp_keystore::{Keystore, KeystorePtr}; @@ -5,7 +6,6 @@ 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(seed: &str) -> ::Public { TPublic::Pair::from_string(&format!("//{seed}"), None)