diff options
Diffstat (limited to 'internal/run.go')
| -rw-r--r-- | internal/run.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/run.go b/internal/run.go index d07ba28..82da984 100644 --- a/internal/run.go +++ b/internal/run.go @@ -33,9 +33,8 @@ func Run(ctx context.Context, configFile string, loopIntervalS int64) error { log.Println("Starting everything up!") quo := quorum.New(conf) - notifier := notifier.New() - myVoteCh, scoreCh := quo.Start(ctx) + server.Start(ctx, conf, quo) client.Start(ctx, conf, myVoteCh) notifier.Start(ctx, conf, scoreCh) |
