Stop generating a block if view is changed while creating the block.
majecty opened this issue · 0 comments
majecty commented
The generate_seal
function assumes that the generating block is generated for the current view. If the block is generated in the previous view, Tendermint crashes by an assertion in worker.rs#L1047 line.
codechain/core/src/consensus/tendermint/worker.rs
Line 1047 in c24b6f7