aboutsummaryrefslogtreecommitdiff
path: root/src/test/data
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2014-09-14 06:01:51 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2014-09-14 06:28:22 +0000
commita65e320747133723f02c1947a4cc257214325b0b (patch)
tree983cec51516b32c769574192ddf76e91a5b6bca4 /src/test/data
parent15ef1b905b3b468a024b8d5b20c94d80d3c4296a (diff)
downloadbitcoin-a65e320747133723f02c1947a4cc257214325b0b.tar.xz
bitcoin-util-test: Test bitcoin-tx with null scriptPubKey
Diffstat (limited to 'src/test/data')
-rw-r--r--src/test/data/bitcoin-util-test.json3
-rw-r--r--src/test/data/txcreate2.hex1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/test/data/bitcoin-util-test.json b/src/test/data/bitcoin-util-test.json
index 7db87d7c11..cb74d73ef2 100644
--- a/src/test/data/bitcoin-util-test.json
+++ b/src/test/data/bitcoin-util-test.json
@@ -34,5 +34,8 @@
"outaddr=0.18:13tuJJDR2RgArmgfv6JScSdreahzgc4T6o",
"outaddr=4:1P8yWvZW8jVihP1bzHeqfE4aoXNX8AVa46"],
"output_cmp": "txcreate1.hex"
+ },
+ { "exec": ["./bitcoin-tx", "-create", "outscript=0:"],
+ "output_cmp": "txcreate2.hex"
}
]
diff --git a/src/test/data/txcreate2.hex b/src/test/data/txcreate2.hex
new file mode 100644
index 0000000000..5243c2d02e
--- /dev/null
+++ b/src/test/data/txcreate2.hex
@@ -0,0 +1 @@
+01000000000100000000000000000000000000