tests: add failing test for undefined hashType
This commit is contained in:
parent
4be502a1bd
commit
86b2cf75ce
1 changed files with 9 additions and 1 deletions
10
test/fixtures/script.json
vendored
10
test/fixtures/script.json
vendored
|
@ -177,9 +177,17 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"isPubKeyInput": [
|
"isPubKeyInput": [
|
||||||
|
{
|
||||||
|
"description": "non-canonical signature (too short)",
|
||||||
|
"scriptSig": "304402207515cf147d201f411092e6be5a64a6006f9308fad7b2a8fdaab22cd86ce764c202200974b8aca7bf51dbf54150d3884e1ae04f675637b926ec33bf7593"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "non-canonical signature (too long)",
|
"description": "non-canonical signature (too long)",
|
||||||
"scriptSig": "304402207515cf147d201f411092e6be5a64a6006f9308fad7b2a8fdaab22cd86ce764c202200974b8aca7bf51dbf54150d3884e1ae04f675637b926ec33bf7593ffffffffffffffff"
|
"scriptSig": "304402207515cf147d201f411092e6be5a64a6006f9308fad7b2a8fdaab22cd86ce764c202200974b8aca7bf51dbf54150d3884e1ae04f675637b926ec33bf75939446f6ca28ffffffff01"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "non-canonical signature (invalid hashType)",
|
||||||
|
"scriptSig": "304402207515cf147d201f411092e6be5a64a6006f9308fad7b2a8fdaab22cd86ce764c202200974b8aca7bf51dbf54150d3884e1ae04f675637b926ec33bf75939446f6ca28ff"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"isPubKeyOutput": [
|
"isPubKeyOutput": [
|
||||||
|
|
Loading…
Add table
Reference in a new issue