This commit is contained in:
jl777
2017-03-23 03:30:15 +02:00
parent ba8419c7a0
commit c0dbb034f3
2 changed files with 13 additions and 2 deletions

View File

@@ -516,11 +516,11 @@ static bool ProcessBlockFound(CBlock* pblock, CWallet& wallet, CReserveKey& rese
hash = pblock->hashPrevBlock;
for (i=0; i<32; i++)
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);
fprintf(stderr," <- prev\n");
fprintf(stderr," <- prev (stale)\n");
hash = chainActive.Tip()->GetBlockHash();
for (i=0; i<32; i++)
fprintf(stderr,"%02x",((uint8_t *)&hash)[i]);
fprintf(stderr," <- chainTip\n");
fprintf(stderr," <- chainTip (stale)\n");
return error("KomodoMiner: generated block is stale");
}