Update to latest substrate (#66)

* Update to latest substrate

* Fix as much as I can

* Store key out of Environment::init

* Fix service compile
This commit is contained in:
Gav Wood
2019-01-08 14:08:31 +01:00
committed by GitHub
parent b2db7857a7
commit f66b5115fd
10 changed files with 200 additions and 120 deletions
+2 -1
View File
@@ -179,6 +179,7 @@ construct_service_factory! {
},
link_half,
grandpa::NetworkBridge::new(service.network()),
service.on_exit(),
)?;
executor.spawn(voter);
@@ -228,6 +229,7 @@ construct_service_factory! {
client,
Arc::new(proposer_factory),
service.network(),
service.on_exit(),
);
executor.spawn(task);
@@ -273,4 +275,3 @@ construct_service_factory! {
}},
}
}