core: fix typo in TestECDSAVerify

This commit is contained in:
Evgenii Stratonikov 2020-04-14 16:15:49 +03:00
parent ace5614a3d
commit a99e0d7ba6

View file

@ -282,7 +282,7 @@ func TestECDSAVerify(t *testing.T) {
t.Run("invalid signature", func(t *testing.T) {
sign := priv.Sign(msg)
sign[0] ^= sign[0]
sign[0] = ^sign[0]
runCase(t, false, false, sign, priv.PublicKey().Bytes(), msg)
})