This commit is contained in:
jl777
2017-03-23 03:35:44 +02:00
parent c0dbb034f3
commit 92266e9959
2 changed files with 4 additions and 4 deletions

View File

@@ -3203,11 +3203,11 @@ bool CheckBlockHeader(int32_t height,CBlockIndex *pindex, const CBlockHeader& bl
{
uint256 hash; int32_t i;
hash = blockhdr.GetHash();
for (i=0; i<32; i++)
for (i=31; i>=0; i--)
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);
fprintf(stderr," <- CheckBlockHeader\n");
hash = chainActive.Tip()->GetBlockHash();
for (i=0; i<32; i++)
for (i=31; i>=0; i--)
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);
fprintf(stderr," <- chainTip\n");
}