mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-21 15:29:27 +00:00
style: remove extra log
This commit is contained in:
parent
5f9bf92f34
commit
52735463e2
1 changed files with 0 additions and 1 deletions
|
|
@ -488,7 +488,6 @@ func (dl *diskLayer) checkAndFlush(ctx *generatorContext, current []byte) error
|
||||||
journalProgress(ctx.batch, current, ctx.stats)
|
journalProgress(ctx.batch, current, ctx.stats)
|
||||||
|
|
||||||
if err := ctx.batch.Write(); err != nil {
|
if err := ctx.batch.Write(); err != nil {
|
||||||
log.Error("Failed to flush batch", "err", err)
|
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
ctx.batch.Reset()
|
ctx.batch.Reset()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue