X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=a091f6d52586a017ff249d9ee2cb25f655def9bb;hp=6390366f4cfdca5e7a58c606b660461b1101fabd;hb=056f3b1ef51d160dad763ed43cacc151735999de;hpb=c6444ebc7248037fccd5ff6e66f0b180f84a6302 diff --git a/src/main.cpp b/src/main.cpp index 6390366..a091f6d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2636,11 +2636,11 @@ bool CBlock::SignBlock(CWallet& wallet) if (IsProofOfStake()) return true; - static int64_t nLastCoinStakeSearchTime = GetAdjustedTime(); // startup timestamp + static uint32_t nLastCoinStakeSearchTime = GetAdjustedTime(); // startup timestamp CKey key; CTransaction txCoinStake; - int64_t nSearchTime = txCoinStake.nTime; // search to current time + uint32_t nSearchTime = txCoinStake.nTime; // search to current time if (nSearchTime > nLastCoinStakeSearchTime) {