We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e45e6b commit 9a71f32Copy full SHA for 9a71f32
core/src/consensus/tendermint/worker.rs
@@ -1972,15 +1972,13 @@ impl Worker {
1972
if height == self.height - 1 {
1973
let block = self.client().block(&height.into()).expect("Parent block should exist");
1974
let block_hash = block.hash();
1975
- let seal = block.seal();
1976
- let author_view =
1977
- TendermintSealView::new(&seal).author_view().expect("Block is already verified and imported");
+ let finalized_view = self.finalized_view_of_previous_block;
1978
1979
let votes = self
1980
.votes
1981
.get_all_votes_in_round(&VoteStep {
1982
height,
1983
- view: author_view,
+ view: finalized_view,
1984
step: Step::Precommit,
1985
})
1986
.into_iter()
0 commit comments