There was an error while loading. Please reload this page.
1 parent a6f7c23 commit 16bb075Copy full SHA for 16bb075
core/src/consensus/tendermint/worker.rs
@@ -1312,7 +1312,11 @@ impl Worker {
1312
view,
1313
} => {
1314
cinfo!(ENGINE, "Commit timeout.");
1315
- if self.client().block(&block_hash.into()).is_none() {
+
1316
+ let proposal_imported = self.client().block(&block_hash.into()).is_some();
1317
+ let best_block_header = self.client().best_block_header();
1318
1319
+ if !proposal_imported || best_block_header.hash() != block_hash {
1320
cwarn!(ENGINE, "Best chain is not updated yet, wait until imported");
1321
self.step = TendermintState::CommitTimedout {
1322
block_hash,
0 commit comments