Skip to content

Commit

Permalink
Merge pull request bitcoin#231 from jamoes/sighash_tests
Browse files Browse the repository at this point in the history
Remove unnecessary output from sighash_tests
  • Loading branch information
zander committed Feb 20, 2017
2 parents ade6243 + 1f3dc77 commit e457c3d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/test/sighash_tests.cpp
Expand Up @@ -31,7 +31,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);
Expand Down Expand Up @@ -62,7 +61,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);
Expand Down

0 comments on commit e457c3d

Please sign in to comment.