From 42f88d44a8c12abad2a760d6df57e41528fdaeae Mon Sep 17 00:00:00 2001 From: David Florness Date: Sat, 14 Nov 2020 16:13:54 -0500 Subject: [PATCH] Fix typo --- voter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voter.go b/voter.go index 73a01ea..e0b660c 100644 --- a/voter.go +++ b/voter.go @@ -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) } -- 2.38.4