aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoin-tx.cpp
diff options
context:
space:
mode:
authorjnewbery <john@johnnewbery.com>2016-09-29 10:14:05 -0400
committerJohn Newbery <john@johnnewbery.com>2016-11-04 09:10:44 +0000
commit7451cf59cd7b3a917fe7e4c7210d43b2f5adaad3 (patch)
tree4f62c039c4ab1e8d8bc48955fddb114860fec653 /src/bitcoin-tx.cpp
parented64bcec2dde1f4255f3bd5b0c2f01e4dfe260d3 (diff)
downloadbitcoin-7451cf59cd7b3a917fe7e4c7210d43b2f5adaad3.tar.xz
Allow bitcoin-tx to parse partial transactions
Restore pre V0.13.1 functionality to bitcoin-tx and allow it to parse 0-input partial transactions.
Diffstat (limited to 'src/bitcoin-tx.cpp')
-rw-r--r--src/bitcoin-tx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitcoin-tx.cpp b/src/bitcoin-tx.cpp
index e09afd632e..66c2166fe0 100644
--- a/src/bitcoin-tx.cpp
+++ b/src/bitcoin-tx.cpp
@@ -629,7 +629,7 @@ static int CommandLineRawTx(int argc, char* argv[])
if (strHexTx == "-") // "-" implies standard input
strHexTx = readStdin();
- if (!DecodeHexTx(txDecodeTmp, strHexTx))
+ if (!DecodeHexTx(txDecodeTmp, strHexTx, true))
throw runtime_error("invalid transaction encoding");
startArg = 2;