Fix up polkadot runtime

This commit is contained in:
Gav
2018-08-30 09:57:09 +02:00
parent 7aff0dc99b
commit 5138feb801
24 changed files with 512 additions and 456 deletions
+2 -2
View File
@@ -549,8 +549,8 @@ impl<C> bft::Proposer<Block> for Proposer<C>
// refuse to vote if this block says a validator is offline that we
// think isn't.
let offline = proposal.noted_offline();
if !self.offline.read().check_consistency(&self.validators[..], offline) {
let missed_proposal = proposal.noted_missed_proposal();
if !self.offline.read().check_consistency(&self.validators[..], missed_proposal) {
return Box::new(futures::empty());
}
+1 -1
View File
@@ -212,7 +212,7 @@ impl Service {
let mut prev_best = match client.best_block_header() {
Ok(header) => header.hash(),
Err(e) => {
warn!("Cant's start consensus service. Error reading best block header: {:?}", e);
warn!("Can't start consensus service. Error reading best block header: {:?}", e);
return;
}
};