From ce54bf3bdbf09d3c935255acf68abf2afa448092 Mon Sep 17 00:00:00 2001 From: Thane Thomson Date: Thu, 17 Mar 2022 17:56:22 -0400 Subject: [PATCH] Better describe method given vote extensions Signed-off-by: Thane Thomson --- types/canonical.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/canonical.go b/types/canonical.go index fc07ab477..83250ae1e 100644 --- a/types/canonical.go +++ b/types/canonical.go @@ -52,7 +52,8 @@ func CanonicalizeProposal(chainID string, proposal *tmproto.Proposal) tmproto.Ca } // CanonicalizeVote transforms the given Vote to a CanonicalVote, which does -// not contain ValidatorIndex and ValidatorAddress fields. +// not contain ValidatorIndex and ValidatorAddress fields, or any fields +// relating to vote extensions. func CanonicalizeVote(chainID string, vote *tmproto.Vote) tmproto.CanonicalVote { return tmproto.CanonicalVote{ Type: vote.Type,