Skip to content

Commit

Permalink
vote_extn_validations
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakgudla committed Sep 24, 2024
1 parent 032dc6e commit 8aa24ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion keeper/vote_extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ func (h *VoteExtHandler) VerifyVoteExtensionHandler() sdk.VerifyVoteExtensionHan
Status: abci.ResponseVerifyVoteExtension_REJECT,
}, fmt.Errorf("request is nil")
}

// Example: Validate vote height (assuming the vote has a height field)
if req.Height <= 0 {
return &abci.ResponseVerifyVoteExtension{
Expand Down

0 comments on commit 8aa24ad

Please sign in to comment.