summaryrefslogtreecommitdiff
path: root/internal/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/run.go')
-rw-r--r--internal/run.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/run.go b/internal/run.go
index b069472..15c661f 100644
--- a/internal/run.go
+++ b/internal/run.go
@@ -16,9 +16,9 @@ func Run(ctx context.Context, configFile string) error {
}
quo := quorum.New(conf)
- liveNodesCh := quo.Start(ctx)
+ myVoteCh := quo.Start(ctx)
server.Start(ctx, conf, quo)
- client.Start(ctx, conf, liveNodesCh)
+ client.Start(ctx, conf, myVoteCh)
<-ctx.Done()
return nil