Skip to content

Commit d2aebc5

Browse files
committed
[Trivial] Fix lastHashTime type in miner
1 parent b8ed76f commit d2aebc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/miner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ void BitcoinMiner(CWallet* pwallet, bool fProofOfStake)
702702
//search our map of hashed blocks, see if bestblock has been hashed yet
703703
if (pwallet->pStakerStatus->GetLastHash() == pindexPrev->GetBlockHash())
704704
{
705-
uint256 lastHashTime = pwallet->pStakerStatus->GetLastTime();
705+
int64_t lastHashTime = pwallet->pStakerStatus->GetLastTime();
706706
if ( (!fTimeV2 && GetTime() < lastHashTime + 22) ||
707707
(fTimeV2 && GetCurrentTimeSlot() <= lastHashTime) )
708708
{

0 commit comments

Comments
 (0)