Skip to content

Commit 1d31b63

Browse files
committed
enable chain manager logger
1 parent 2a48390 commit 1d31b63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/explored/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func runRootCmd(ctx context.Context, log *zap.Logger) error {
209209
if err != nil {
210210
return fmt.Errorf("failed to create chain store: %w", err)
211211
}
212-
cm := chain.NewManager(dbstore, tipState)
212+
cm := chain.NewManager(dbstore, tipState, chain.WithLog(log.Named("chain")))
213213

214214
store, err := sqlite.OpenDatabase(filepath.Join(cfg.Directory, "explored.sqlite3"), log.Named("sqlite3"))
215215
if err != nil {

0 commit comments

Comments
 (0)