Merge #8837: allow bitcoin-tx to parse partial transactions

7451cf5 Allow bitcoin-tx to parse partial transactions (jnewbery)
This commit is contained in:
Wladimir J. van der Laan
2016-11-21 15:32:11 +01:00
2 changed files with 11 additions and 1 deletions

View File

@@ -638,7 +638,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;