forked from TrueCloudLab/neoneo-go
core: fix typo in TestECDSAVerify
This commit is contained in:
parent
ace5614a3d
commit
a99e0d7ba6
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