tests: add failing test for undefined hashType
This commit is contained in:
parent
4be502a1bd
commit
86b2cf75ce
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…
Reference in New Issue
Block a user