~edwargix/tallyard

68241ca303a2baf2b8e4b31e5938d981a304f1b3 — David Florness 4 years ago 9c54e00
Helpful message
1 files changed, 1 insertions(+), 0 deletions(-)

M election/voter.go
M election/voter.go => election/voter.go +1 -0
@@ 156,6 156,7 @@ func (el *Election) StartElection(client *mautrix.Client) error {
}

func (el *Election) WaitForVoters(client *mautrix.Client) error {
	fmt.Println("waiting for others...")
	el.RLock()
	if el.StartEvt == nil {
		return errors.New("WaitForVoters called before election started")