Browse Source

Merge #9406: Re-enable a blank v1 Tx JSON test

b371732 Re-enable a blank v1 Tx JSON test (Douglas Roark)
0.14
MarcoFalke 8 years ago
parent
commit
0f921e6a04
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
  1. 11
      src/test/data/bitcoin-util-test.json
  2. 0
      src/test/data/blanktxv1.json

11
src/test/data/bitcoin-util-test.json

@ -5,9 +5,9 @@
"description": "Creates a blank v1 transaction" "description": "Creates a blank v1 transaction"
}, },
{ "exec": "./bitcoin-tx", { "exec": "./bitcoin-tx",
"args": ["-json","-create"], "args": ["-json","-create", "nversion=1"],
"output_cmp": "blanktxv2.json", "output_cmp": "blanktxv1.json",
"description": "Creates a blank transaction (output in json)" "description": "Creates a blank v1 transaction (output in json)"
}, },
{ "exec": "./bitcoin-tx", { "exec": "./bitcoin-tx",
"args": ["-"], "args": ["-"],
@ -15,6 +15,11 @@
"output_cmp": "blanktxv2.hex", "output_cmp": "blanktxv2.hex",
"description": "Creates a blank transaction when nothing is piped into bitcoin-tx" "description": "Creates a blank transaction when nothing is piped into bitcoin-tx"
}, },
{ "exec": "./bitcoin-tx",
"args": ["-json","-create"],
"output_cmp": "blanktxv2.json",
"description": "Creates a blank transaction (output in json)"
},
{ "exec": "./bitcoin-tx", { "exec": "./bitcoin-tx",
"args": ["-json","-"], "args": ["-json","-"],
"input": "blanktxv2.hex", "input": "blanktxv2.hex",

0
src/test/data/blanktx.json → src/test/data/blanktxv1.json

Loading…
Cancel
Save