Skip to content

Commit

Permalink
Minor Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xsharma committed May 20, 2022
1 parent 8b83958 commit dba3740
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions consensus/bor/bor.go
Original file line number Diff line number Diff line change
Expand Up @@ -1199,13 +1199,10 @@ func (c *Bor) CommitStates(
return nil, err
}
totalGas += int(gasUsed)
// if totalGas < 0 {
// break
// }

lastStateID++
}
log.Info("StateSyncGas", "gas", totalGas, "Block-number", number, "FromStateID", lastStateID+1, "TotalRecords", len(eventRecords))
log.Info("StateSyncData", "Gas", totalGas, "Block-number", number, "FromStateID", lastStateID+1, "TotalRecords", len(eventRecords))
return stateSyncs, nil
}

Expand Down

0 comments on commit dba3740

Please sign in to comment.