We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2d351c commit 796ed2dCopy full SHA for 796ed2d
1 file changed
core/types/vote.go
@@ -107,7 +107,7 @@ type SlashIndicatorFinalityEvidenceWrapper struct {
107
}
108
109
func NewSlashIndicatorFinalityEvidenceWrapper(vote1, vote2 *VoteEnvelope) *SlashIndicatorFinalityEvidenceWrapper {
110
- if !bytes.Equal(vote1.VoteAddress[:], vote1.VoteAddress[:]) ||
+ if !bytes.Equal(vote1.VoteAddress[:], vote2.VoteAddress[:]) ||
111
vote1.Data == nil || vote2.Data == nil {
112
return nil
113
0 commit comments