mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-02-05 11:44:25 +00:00
Merge #10524: [tests] Remove printf(...)
0abc588 [tests] Remove printf(...) (practicalswift) Tree-SHA512: a56fa1edce050f5a44a53842223fc99e4e8ade413047e04f2064faeb5c4a418864a94471853d5c26a20608d1dcc18b9226d7fe15172f79a66cc5cf6e1443f7e9
This commit is contained in:
commit
6c2d81f34d
@ -29,7 +29,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);
|
||||||
@ -60,7 +59,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…
x
Reference in New Issue
Block a user