aboutsummaryrefslogtreecommitdiff
path: root/src/test/sighash_tests.cpp
diff options
context:
space:
mode:
authorpracticalswift <[email protected]>2017-06-04 01:28:01 +0200
committerpracticalswift <[email protected]>2017-06-07 20:42:54 +0200
commit0abc58890c1a6600fa5097603febd3990a071d03 (patch)
treecf05f4c90eef4e6a21ed5785b3b58ed8a791e8ba /src/test/sighash_tests.cpp
parentMerge #10447: Make bitcoind invalid argument error message specific (diff)
downloaddiscoin-0abc58890c1a6600fa5097603febd3990a071d03.tar.xz
discoin-0abc58890c1a6600fa5097603febd3990a071d03.zip
[tests] Remove printf(...)
Diffstat (limited to 'src/test/sighash_tests.cpp')
-rw-r--r--src/test/sighash_tests.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/test/sighash_tests.cpp b/src/test/sighash_tests.cpp
index 2f7c22084..184026fa5 100644
--- a/src/test/sighash_tests.cpp
+++ b/src/test/sighash_tests.cpp
@@ -30,7 +30,6 @@ uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, un
static const uint256 one(uint256S("0000000000000000000000000000000000000000000000000000000000000001"));
if (nIn >= txTo.vin.size())
{
- printf("ERROR: SignatureHash(): nIn=%d out of range\n", nIn);
return one;
}
CMutableTransaction txTmp(txTo);
@@ -61,7 +60,6 @@ uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, un
unsigned int nOut = nIn;
if (nOut >= txTmp.vout.size())
{
- printf("ERROR: SignatureHash(): nOut=%d out of range\n", nOut);
return one;
}
txTmp.vout.resize(nOut+1);