Browse Source

ECKey: adds test to ensure throws on negative D

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
978f0c5406
  1. 4
      test/fixtures/eckey.json

4
test/fixtures/eckey.json

@ -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…
Cancel
Save