mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-29 23:33:37 +00:00
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) {
|
t.Run("invalid signature", func(t *testing.T) {
|
||||||
sign := priv.Sign(msg)
|
sign := priv.Sign(msg)
|
||||||
sign[0] ^= sign[0]
|
sign[0] = ^sign[0]
|
||||||
runCase(t, false, false, sign, priv.PublicKey().Bytes(), msg)
|
runCase(t, false, false, sign, priv.PublicKey().Bytes(), msg)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue