From e032e9fb5dbd26d6ad7dfe5f5bf94e6d8f3a63bb Mon Sep 17 00:00:00 2001 From: cygnusxi Date: Fri, 11 May 2018 00:36:40 -0500 Subject: [PATCH] min stake age fix from merge --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index bb71550..ffbc54a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1999,7 +1999,7 @@ bool CTransaction::GetCoinAge(CTxDB& txdb, uint64& nCoinAge) const CBlock block; if (!block.ReadFromDisk(txindex.pos.nFile, txindex.pos.nBlockPos, false)) return false; // unable to read block of previous transaction - if ( nBestHeight > (int)HF_BLOCK ) nStakeMinAge = 60 * 60; // 1 hour hotwire * 24 * 4; // 4 day min stake age hardfork + if ( nBestHeight > (int)HF_BLOCK ) nStakeMinAge = 60 * 60 * 24 * 4; // 4 day min stake age hardfork if (block.GetBlockTime() + nStakeMinAge > nTime) continue; // only count coins meeting min age requirement