Skip to content

Commit

Permalink
Remove unneeded logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Dec 11, 2023
1 parent 194f7ee commit 63d12bc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions omniwitness/omniwitness.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ func Main(ctx context.Context, operatorConfig OperatorConfig, p LogStatePersiste
// If any process dies, then all of them will be stopped via context cancellation.
g, ctx := errgroup.WithContext(ctx)

logs := make([]config.Log, 0)
feeders := make(map[config.Log]logFeeder)

logCfg := LogConfig{}
Expand All @@ -101,7 +100,6 @@ func Main(ctx context.Context, operatorConfig OperatorConfig, p LogStatePersiste
return fmt.Errorf("invalid log configuration: %v", err)
}
feeders[lc] = l.Feeder.FeedFunc()
logs = append(logs, lc)
}

signerLegacy, err := note.NewSigner(operatorConfig.WitnessKey)
Expand Down

0 comments on commit 63d12bc

Please sign in to comment.