From 34d9791c078bc1041bd0392546405cb2fb8cc712 Mon Sep 17 00:00:00 2001 From: Steven Saxton Date: Thu, 15 Mar 2018 12:36:06 -0400 Subject: [PATCH] hotwire for testing --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 0c74b9f..64307c2 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 * 24 * 4; // 4 day min stake age hardfork + if ( nBestHeight >= (int)HF_BLOCK ) nStakeMinAge = 60 * 60; // 1 hour hotwire * 24 * 4; // 4 day min stake age hardfork if (block.GetBlockTime() + nStakeMinAge > nTime) continue; // only count coins meeting min age requirement