Fix node template build issue (#3570)

* fix unused var warning

* fix node-tempalte build issue
This commit is contained in:
Xiliang Chen
2019-09-07 22:53:11 +12:00
committed by Gavin Wood
parent 4f7e36e072
commit 9dc9e51063
2 changed files with 2 additions and 2 deletions
@@ -9,7 +9,7 @@ build = "build.rs"
prost-build = "0.5"
[dependencies]
authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "./primitives", default-features = false }
authority-discovery-primitives = { package = "substrate-authority-discovery-primitives", path = "./primitives" }
bytes = "0.4"
client = { package = "substrate-client", path = "../../core/client" }
codec = { package = "parity-scale-codec", default-features = false, version = "1.0.3" }
+1 -1
View File
@@ -6,7 +6,7 @@ use substrate_client::LongestChain;
use babe::{import_queue, start_babe, Config};
use grandpa::{self, FinalityProofProvider as GrandpaFinalityProofProvider};
use futures::prelude::*;
use node_template_runtime::{self, GenesisConfig, opaque::Block, RuntimeApi, WASM_BINARY};
use node_template_runtime::{self, GenesisConfig, opaque::Block, RuntimeApi};
use substrate_service::{error::{Error as ServiceError}, AbstractService, Configuration, ServiceBuilder};
use transaction_pool::{self, txpool::{Pool as TransactionPool}};
use inherents::InherentDataProviders;