mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 04:51:01 +00:00
Fix up polkadot runtime
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user