Skip to content

Commit

Permalink
dccs: cast vote if the block is not a checkpoint (ethereum#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadv authored Jul 9, 2019
1 parent 65c0cf1 commit 36d36a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion consensus/dccs/dccs.go
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ func (d *Dccs) prepare(chain consensus.ChainReader, header *types.Header) error
if err != nil {
return err
}
if d.config.IsCheckpoint(number) {
if !d.config.IsCheckpoint(number) {
d.lock.RLock()

// Gather all the proposals that make sense voting on
Expand Down

0 comments on commit 36d36a0

Please sign in to comment.