mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Update StateDB to new & ExitInfo struct & BatchNum
Update StateDB to new & ExitInfo struct & BatchNum Also a small fix at txselector & log packages
This commit is contained in:
@@ -57,7 +57,8 @@ func Init(levelStr, errorsPath string) {
|
||||
}
|
||||
//nolint:errcheck
|
||||
defer logger.Sync()
|
||||
log = logger.Sugar()
|
||||
withOptions := logger.WithOptions(zap.AddCallerSkip(1))
|
||||
log = withOptions.Sugar()
|
||||
|
||||
if errorsPath != "" {
|
||||
log.Infof("file where errors will be written: %s", errorsPath)
|
||||
|
||||
Reference in New Issue
Block a user