mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Minor Changes
This commit is contained in:
parent
8b8395870c
commit
dba374026f
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue