mirror of https://github.com/gtank/ristretto255
Update internal/radix51/fe_test.go
Co-Authored-By: hdevalence <hdevalence@hdevalence.ca>
This commit is contained in:
parent
4765eee22a
commit
4c8c35e919
|
@ -357,7 +357,7 @@ func TestSelectSwap(t *testing.T) {
|
|||
|
||||
CondSwap(&c, &d, 1)
|
||||
|
||||
if (c.Equal(&b) != 1) || (d.Equal(&a) != 1) {
|
||||
if c.Equal(&b) != 1 || d.Equal(&a) != 1 {
|
||||
t.Errorf("Swap failed")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue