~edwargix/tallyard

42f88d44a8c12abad2a760d6df57e41528fdaeae — David Florness 5 years ago df12c53
Fix typo
1 files changed, 1 insertions(+), 1 deletions(-)

M voter.go
M voter.go => voter.go +1 -1
@@ 222,7 222,7 @@ func findPeers(closeElection <-chan int, election *Election) {

func (voter *Voter) fetchNumber(election *Election, cmd string, args ...string) *big.Int {
	printErr := func(err error, msg string) {
		logger.Errorf("%s: %s while fetcing `%s'; retrying in 2 seconds",
		logger.Errorf("%s: %s while fetching `%s'; retrying in 2 seconds",
			voter.addrInfo.ID, msg, cmd)
		time.Sleep(time.Second * 2)
	}