Fixed debug string printing compile errors
@@ -381,11 +381,11 @@ static bool CheckStakeKernelHashV2(CBlockIndex* pindexPrev, unsigned int nBits,
if (fDebug && GetBoolArg("-printstakemodifier"))
{
- printf("CheckStakeKernelHash() : using modifier 0x%016x at height=%d timestamp=%s for block from timestamp=%s\n",
+ printf("CheckStakeKernelHash() : using modifier %lu at height=%d timestamp=%s for block from timestamp=%s\n",
nStakeModifier, nStakeModifierHeight,
- DateTimeStrFormat(nStakeModifierTime),
- DateTimeStrFormat(nTimeBlockFrom));
- printf("CheckStakeKernelHash() : check modifier=0x%016x nTimeBlockFrom=%u nTimeTxPrev=%u nPrevout=%u nTimeTx=%u hashProof=%s\n",
+ DateTimeStrFormat(nStakeModifierTime).c_str(),
+ DateTimeStrFormat(nTimeBlockFrom).c_str());
+ printf("CheckStakeKernelHash() : check modifier=%lu nTimeBlockFrom=%u nTimeTxPrev=%u nPrevout=%u nTimeTx=%u hashProof=%s\n",
nStakeModifier,
nTimeBlockFrom, txPrev.nTime, prevout.n, nTimeTx,
hashProofOfStake.ToString().c_str());
@@ -397,11 +397,11 @@ static bool CheckStakeKernelHashV2(CBlockIndex* pindexPrev, unsigned int nBits,
if (fDebug && GetBoolArg("-printstakemodifier"))
{
- printf("CheckStakeKernelHash() : using modifier 0x%016x at height=%d timestamp=%s for block from timestamp=%s\n",
+ printf("CheckStakeKernelHash() : using modifier %lu at height=%d timestamp=%s for block from timestamp=%s\n",
nStakeModifier, nStakeModifierHeight,
- DateTimeStrFormat(nStakeModifierTime),
- DateTimeStrFormat(nTimeBlockFrom));
- printf("CheckStakeKernelHash() : pass modifier=0x%016x nTimeBlockFrom=%u nTimeTxPrev=%u nPrevout=%u nTimeTx=%u hashProof=%s\n",
+ DateTimeStrFormat(nStakeModifierTime).c_str(),
+ DateTimeStrFormat(nTimeBlockFrom).c_str());
+ printf("CheckStakeKernelHash() : pass modifier=%lu nTimeBlockFrom=%u nTimeTxPrev=%u nPrevout=%u nTimeTx=%u hashProof=%s\n",
nStakeModifier,
nTimeBlockFrom, txPrev.nTime, prevout.n, nTimeTx,
hashProofOfStake.ToString().c_str());
