payments/p2wpkh: fix exception messages

This commit is contained in:
Daniel Cousens 2018-07-14 20:13:50 +10:00
commit 0d9619aeed
2 changed files with 11 additions and 5 deletions
test/fixtures

View file

@ -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",