tests/p2wsh: add secondary stacksEqual test
This commit is contained in:
parent
1051946f00
commit
cd9e6d1d5e
14
test/fixtures/p2wsh.json
vendored
14
test/fixtures/p2wsh.json
vendored
@ -269,6 +269,20 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"exception": "Witness and redeem.witness mismatch",
|
||||||
|
"arguments": {
|
||||||
|
"redeem": {
|
||||||
|
"output": "OP_TRUE",
|
||||||
|
"witness": [
|
||||||
|
"04000000ff"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"witness": [
|
||||||
|
"04000000ee"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"exception": "Ambiguous witness source",
|
"exception": "Ambiguous witness source",
|
||||||
"arguments": {
|
"arguments": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user