Fix node-template (#3924)

* fix node-template
Use MultiSignature to maintain compatibility with substrate-node
Reset version to 1
Remove unused const

* fix chain_spec

* line width
This commit is contained in:
Xiliang Chen
2019-10-28 00:54:41 +13:00
committed by Gavin Wood
parent 981c3a57f9
commit f7ee9ab235
6 changed files with 47 additions and 40 deletions
+1 -2
View File
@@ -32,11 +32,10 @@ use substrate_telemetry::TelemetryEndpoints;
use grandpa_primitives::{AuthorityId as GrandpaId};
use babe_primitives::{AuthorityId as BabeId};
use im_online::sr25519::{AuthorityId as ImOnlineId};
use sr_primitives::{traits::Verify, Perbill};
use sr_primitives::{Perbill, traits::{Verify, IdentifyAccount}};
pub use node_primitives::{AccountId, Balance, Signature};
pub use node_runtime::GenesisConfig;
use sr_primitives::traits::IdentifyAccount;
type AccountPublic = <Signature as Verify>::Signer;