We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fb735b commit 1754b09Copy full SHA for 1754b09
core/src/consensus/tendermint/worker.rs
@@ -1969,15 +1969,13 @@ impl Worker {
1969
if height == self.height - 1 {
1970
let block = self.client().block(&height.into()).expect("Parent block should exist");
1971
let block_hash = block.hash();
1972
- let seal = block.seal();
1973
- let author_view =
1974
- TendermintSealView::new(&seal).author_view().expect("Block is already verified and imported");
+ let finalized_view = self.finalized_view_of_previous_block;
1975
1976
let votes = self
1977
.votes
1978
.get_all_votes_in_round(&VoteStep {
1979
height,
1980
- view: author_view,
+ view: finalized_view,
1981
step: Step::Precommit,
1982
})
1983
.into_iter()
0 commit comments