Skip to content

Commit 0f921e6

Browse files
author
MarcoFalke
committed
Merge #9406: Re-enable a blank v1 Tx JSON test
b371732 Re-enable a blank v1 Tx JSON test (Douglas Roark)
2 parents 041331e + b371732 commit 0f921e6

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

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

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,21 @@
55
"description": "Creates a blank v1 transaction"
66
},
77
{ "exec": "./bitcoin-tx",
8-
"args": ["-json","-create"],
9-
"output_cmp": "blanktxv2.json",
10-
"description": "Creates a blank transaction (output in json)"
8+
"args": ["-json","-create", "nversion=1"],
9+
"output_cmp": "blanktxv1.json",
10+
"description": "Creates a blank v1 transaction (output in json)"
1111
},
1212
{ "exec": "./bitcoin-tx",
1313
"args": ["-"],
1414
"input": "blanktxv2.hex",
1515
"output_cmp": "blanktxv2.hex",
1616
"description": "Creates a blank transaction when nothing is piped into bitcoin-tx"
1717
},
18+
{ "exec": "./bitcoin-tx",
19+
"args": ["-json","-create"],
20+
"output_cmp": "blanktxv2.json",
21+
"description": "Creates a blank transaction (output in json)"
22+
},
1823
{ "exec": "./bitcoin-tx",
1924
"args": ["-json","-"],
2025
"input": "blanktxv2.hex",
File renamed without changes.

0 commit comments

Comments
 (0)