ECKey: adds test to ensure throws on negative D
This commit is contained in:
parent
b10e96cbff
commit
978f0c5406
1 changed files with 4 additions and 0 deletions
4
test/fixtures/eckey.json
vendored
4
test/fixtures/eckey.json
vendored
|
@ -67,6 +67,10 @@
|
|||
],
|
||||
"invalid": {
|
||||
"constructor": [
|
||||
{
|
||||
"exception": "Private key must be greater than 0",
|
||||
"D": "-1"
|
||||
},
|
||||
{
|
||||
"exception": "Private key must be greater than 0",
|
||||
"D": "0"
|
||||
|
|
Loading…
Add table
Reference in a new issue