payments/p2wpkh: fix exception messages
This commit is contained in:
parent
35e0956ed9
commit
0d9619aeed
2 changed files with 11 additions and 5 deletions
test/fixtures
10
test/fixtures/p2wpkh.json
vendored
10
test/fixtures/p2wpkh.json
vendored
|
@ -148,7 +148,13 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"exception": "Input has invalid signature",
|
||||
"exception": "Witness is invalid",
|
||||
"arguments": {
|
||||
"witness": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"exception": "Witness has invalid signature",
|
||||
"arguments": {
|
||||
"witness": [
|
||||
"ffffffffffffffffff",
|
||||
|
@ -157,7 +163,7 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"exception": "Input has invalid pubkey",
|
||||
"exception": "Witness has invalid pubkey",
|
||||
"arguments": {
|
||||
"witness": [
|
||||
"300602010002010001",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue