From b3717326c1d7a92f452eb4ba72009c4fb98539d0 Mon Sep 17 00:00:00 2001 From: Douglas Roark Date: Wed, 21 Dec 2016 13:40:14 -0800 Subject: [PATCH] Re-enable a blank v1 Tx JSON test --- src/test/data/bitcoin-util-test.json | 11 ++++++++--- src/test/data/{blanktx.json => blanktxv1.json} | 0 2 files changed, 8 insertions(+), 3 deletions(-) rename src/test/data/{blanktx.json => blanktxv1.json} (100%) diff --git a/src/test/data/bitcoin-util-test.json b/src/test/data/bitcoin-util-test.json index ab1a1385a3b..d001b2056fe 100644 --- a/src/test/data/bitcoin-util-test.json +++ b/src/test/data/bitcoin-util-test.json @@ -5,9 +5,9 @@ "description": "Creates a blank v1 transaction" }, { "exec": "./bitcoin-tx", - "args": ["-json","-create"], - "output_cmp": "blanktxv2.json", - "description": "Creates a blank transaction (output in json)" + "args": ["-json","-create", "nversion=1"], + "output_cmp": "blanktxv1.json", + "description": "Creates a blank v1 transaction (output in json)" }, { "exec": "./bitcoin-tx", "args": ["-"], @@ -15,6 +15,11 @@ "output_cmp": "blanktxv2.hex", "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", "args": ["-json","-"], "input": "blanktxv2.hex", diff --git a/src/test/data/blanktx.json b/src/test/data/blanktxv1.json similarity index 100% rename from src/test/data/blanktx.json rename to src/test/data/blanktxv1.json