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

b371732 Re-enable a blank v1 Tx JSON test (Douglas Roark)
pull/308/head
MarcoFalke 8 years ago
commit 0f921e6a04
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137

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

Loading…
Cancel
Save