add types
This commit is contained in:
parent
c7fe710c4d
commit
254b670427
11 changed files with 151 additions and 85 deletions
test/fixtures
2
test/fixtures/ecdsa.json
vendored
2
test/fixtures/ecdsa.json
vendored
|
@ -188,7 +188,7 @@
|
|||
},
|
||||
{
|
||||
"description": "Invalid i value (> 3)",
|
||||
"exception": "Recovery param is more than two bits",
|
||||
"exception": "Expected UInt2, got Number 4",
|
||||
"e": "01",
|
||||
"signatureRaw": {
|
||||
"r": "00",
|
||||
|
|
4
test/fixtures/transaction.json
vendored
4
test/fixtures/transaction.json
vendored
|
@ -229,12 +229,12 @@
|
|||
"invalid": {
|
||||
"addInput": [
|
||||
{
|
||||
"exception": "Expected hash length of 32, got 30",
|
||||
"exception": "Expected 256-bit Buffer, got 240-bit",
|
||||
"hash": "0aed1366a73b6057ee7800d737bff1bdf8c448e98d86bc0998f2b009816d",
|
||||
"index": 0
|
||||
},
|
||||
{
|
||||
"exception": "Expected hash length of 32, got 34",
|
||||
"exception": "Expected 256-bit Buffer, got 272-bit",
|
||||
"hash": "0aed1366a73b6057ee7800d737bff1bdf8c448e98d86bc0998f2b009816da9b0ffff",
|
||||
"index": 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue