>= 64 display
This commit is contained in:
@@ -428,7 +428,7 @@ UniValue genminingCSV(const UniValue& params, bool fHelp)
|
||||
str[32] = 0;
|
||||
//hash = pindex->GetBlockHash();
|
||||
memset(&hash,0,sizeof(hash));
|
||||
if ( i > 64 && (pindex->nBits & 3) != 0 )
|
||||
if ( i >= 64 && (pindex->nBits & 3) != 0 )
|
||||
hash = ArithToUint256(zawy_ctB(bnTarget,solvetime));
|
||||
for (z=0; z<16; z++)
|
||||
sprintf(&str2[z<<1],"%02x",((uint8_t *)&hash)[31-z]);
|
||||
|
||||
Reference in New Issue
Block a user