mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 20:32:35 -03:00
[tests] Remove printf(...)
This commit is contained in:
parent
f259263a7b
commit
0abc58890c
1 changed files with 0 additions and 2 deletions
|
@ -30,7 +30,6 @@ uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, un
|
||||||
static const uint256 one(uint256S("0000000000000000000000000000000000000000000000000000000000000001"));
|
static const uint256 one(uint256S("0000000000000000000000000000000000000000000000000000000000000001"));
|
||||||
if (nIn >= txTo.vin.size())
|
if (nIn >= txTo.vin.size())
|
||||||
{
|
{
|
||||||
printf("ERROR: SignatureHash(): nIn=%d out of range\n", nIn);
|
|
||||||
return one;
|
return one;
|
||||||
}
|
}
|
||||||
CMutableTransaction txTmp(txTo);
|
CMutableTransaction txTmp(txTo);
|
||||||
|
@ -61,7 +60,6 @@ uint256 static SignatureHashOld(CScript scriptCode, const CTransaction& txTo, un
|
||||||
unsigned int nOut = nIn;
|
unsigned int nOut = nIn;
|
||||||
if (nOut >= txTmp.vout.size())
|
if (nOut >= txTmp.vout.size())
|
||||||
{
|
{
|
||||||
printf("ERROR: SignatureHash(): nOut=%d out of range\n", nOut);
|
|
||||||
return one;
|
return one;
|
||||||
}
|
}
|
||||||
txTmp.vout.resize(nOut+1);
|
txTmp.vout.resize(nOut+1);
|
||||||
|
|
Loading…
Reference in a new issue