Browse Source

int32_t

warmup
jl777 5 years ago
parent
commit
58704437ce
  1. 2
      src/pow.cpp

2
src/pow.cpp

@ -74,7 +74,7 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
// Find the first block in the averaging interval
const CBlockIndex* pindexFirst = pindexLast;
arith_uint256 bnTarget,bnTot {0};
uint32_t nbits; int64_t diff,mult = 0;
uint32_t nbits; int32_t diff,mult = 0;
if ( pindexFirst != 0 && pblock != 0 )
{
mult = pblock->nTime - pindexFirst->nTime - 7 * ASSETCHAINS_BLOCKTIME;

Loading…
Cancel
Save