From 806e348af8be5a8db85625cabbf4d2b834a118b7 Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Fri, 25 Mar 2022 10:36:45 -0400 Subject: [PATCH] Update internal/consensus/common_test.go Co-authored-by: Sergio Mena --- internal/consensus/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/consensus/common_test.go b/internal/consensus/common_test.go index 1653aecd2..8d0be8e9c 100644 --- a/internal/consensus/common_test.go +++ b/internal/consensus/common_test.go @@ -134,7 +134,7 @@ func (vs *validatorStub) signVote( return nil, fmt.Errorf("sign vote failed: %w", err) } - // ref: signVote in FilePV, the vote should use the privious vote info when the sign data is the same. + // ref: signVote in FilePV, the vote should use the previous vote info when the sign data is the same. if signDataIsEqual(vs.lastVote, v) { v.Signature = vs.lastVote.Signature v.Timestamp = vs.lastVote.Timestamp