CodeChain-io/codechain

Stop generating a block if view is changed while creating the block.

majecty opened this issue · 0 comments

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.

assert!(self.is_signer_proposer(&parent_hash));