Merge pull request #855 from nspcc-dev/fix/ecdsatest

core: fix typo in TestECDSAVerify
This commit is contained in:
Roman Khimov 2020-04-14 16:22:06 +03:00 committed by GitHub
commit 01e27535ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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)
})