From 80185941a9db10f8560aa12cef7d71059479241c Mon Sep 17 00:00:00 2001 From: Lukasz Klimek <842586+lklimek@users.noreply.github.com> Date: Wed, 3 Jan 2024 15:46:52 +0100 Subject: [PATCH] chore: remove reverse --- types/vote_extension.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/vote_extension.go b/types/vote_extension.go index fc8aa79ef1..928c96620d 100644 --- a/types/vote_extension.go +++ b/types/vote_extension.go @@ -455,7 +455,7 @@ func (e ThresholdRawVoteExtension) SignItem(_ string, height int64, round int32, ext := &e.VoteExtension if ext.XSignRequestId != nil && ext.XSignRequestId.Size() > 0 { - receivedReqID := tmbytes.Reverse(ext.GetSignRequestId()) + receivedReqID := ext.GetSignRequestId() signRequestID = crypto.Checksum(crypto.Checksum(receivedReqID)) // reverse ext.GetSignRequestId()? } else { if signRequestID, err = voteExtensionRequestID(height, round); err != nil {