mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 02:31:03 +00:00
Update to latest substrate
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 missed_proposal = proposal.noted_missed_proposal();
|
||||
if !self.offline.read().check_consistency(&self.validators[..], missed_proposal) {
|
||||
let offline = proposal.noted_offline();
|
||||
if !self.offline.read().check_consistency(&self.validators[..], offline) {
|
||||
return Box::new(futures::empty());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user