Browse Source

Re-enable a blank v1 Tx JSON test

0.14
Douglas Roark 8 years ago
parent
commit
b3717326c1
  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