mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add ZKI tests Til last batches MinimumFlow0 &other
- Add ZKI tests Til last batches MinimumFlow0 - Fix zki.CurrentNumBatch - Fix StateDB BatchNum log
This commit is contained in:
@@ -101,7 +101,7 @@ func NewStateDB(pathDB string, keep int, typ TypeStateDB, nLevels int) (*StateDB
|
||||
// Internally this advances & stores the current BatchNum, and then stores a
|
||||
// Checkpoint of the current state of the StateDB.
|
||||
func (s *StateDB) MakeCheckpoint() error {
|
||||
log.Debugw("Making StateDB checkpoint", "batch", s.CurrentBatch())
|
||||
log.Debugw("Making StateDB checkpoint", "batch", s.CurrentBatch()+1)
|
||||
return s.db.MakeCheckpoint()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user