good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 84828e7c authored by Jaynti Kanani's avatar Jaynti Kanani
Browse files

fix epoch

parent f2cd20e5
No related branches found
No related tags found
No related merge requests found
......@@ -365,7 +365,7 @@ func (c *Bor) verifyCascadingFields(chain consensus.ChainReader, header *types.H
return err
}
// If the block is a checkpoint block, verify the signer list
if number%c.config.ProducerInterval == 0 {
if number%c.config.Epoch == 0 {
signers := make([]byte, len(snap.Signers)*common.AddressLength)
for i, signer := range snap.signers() {
copy(signers[i*common.AddressLength:], signer[:])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment