forked from TrueCloudLab/neoneo-go
Merge pull request #855 from nspcc-dev/fix/ecdsatest
core: fix typo in TestECDSAVerify
This commit is contained in:
commit
01e27535ae
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue