core: fix state reset log message

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-04-11 16:47:37 +03:00
parent 5322a3535b
commit 41caeed5c0

View file

@ -682,7 +682,7 @@ func (bc *Blockchain) resetStateInternal(height uint32, stage stateChangeStage)
v := bc.dao.Version v := bc.dao.Version
cache := bc.dao // dao is MemCachedStore over DB, so use dao directly to persist cached changes right to the underlying DB cache := bc.dao // dao is MemCachedStore over DB, so use dao directly to persist cached changes right to the underlying DB
bc.log.Info("initialize state reset", zap.Uint32("target height", height)) bc.log.Info("initializing state reset", zap.Uint32("target height", height))
start := time.Now() start := time.Now()
p := start p := start
keys := 0 keys := 0