Browse Source

add inverted Network mismatch tests

v4
Daniel Cousens 6 years ago
parent
commit
6927f74b7a
  1. 18
      test/fixtures/p2sh.json
  2. 9
      test/fixtures/p2wsh.json

18
test/fixtures/p2sh.json

@ -325,6 +325,24 @@
} }
} }
}, },
{
"exception": "Network mismatch",
"arguments": {
"network": "bitcoin",
"redeem": {
"network": "testnet"
}
}
},
{
"exception": "Network mismatch",
"arguments": {
"network": "testnet",
"redeem": {
"network": "bitcoin"
}
}
},
{ {
"exception": "Empty input", "exception": "Empty input",
"arguments": { "arguments": {

9
test/fixtures/p2wsh.json

@ -306,6 +306,15 @@
} }
} }
}, },
{
"exception": "Network mismatch",
"arguments": {
"network": "testnet",
"redeem": {
"network": "bitcoin"
}
}
},
{ {
"exception": "Invalid prefix or Network mismatch", "exception": "Invalid prefix or Network mismatch",
"arguments": { "arguments": {

Loading…
Cancel
Save