Skip to content

Commit

Permalink
chore: remove reverse
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jan 3, 2024
1 parent d9eca5e commit 8018594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/vote_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8018594

Please sign in to comment.