good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 89248d71 authored by Arpit Agarwal's avatar Arpit Agarwal Committed by GitHub
Browse files

Update consensus/bor/bor.go


Co-authored-by: default avatarJaynti Kanani <jdkanani@gmail.com>
parent 742c2104
No related branches found
No related tags found
Loading
......@@ -1086,7 +1086,7 @@ func (c *Bor) CommitStates(
}
from := *lastSync
to := time.Unix(int64(chain.Chain.GetHeaderByNumber(number-1).Time), 0)
to := time.Unix(int64(chain.Chain.GetHeaderByNumber(number-c.config.Sprint).Time), 0)
lastStateID := _lastStateID.Uint64()
if !from.Before(to) {
return nil
......
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