From 58704437ced8622e123667d8158c0ba618d8c845 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 1 Aug 2019 10:32:58 -1100 Subject: [PATCH] int32_t --- src/pow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pow.cpp b/src/pow.cpp index 038f130e8..0a37dc8fb 100644 --- a/src/pow.cpp +++ b/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;