Skip to content

Instantly share code, notes, and snippets.

@ohac
Created May 6, 2014 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ohac/f5cf1cad0587f8a02efe to your computer and use it in GitHub Desktop.
Save ohac/f5cf1cad0587f8a02efe to your computer and use it in GitHub Desktop.
diff --git a/src/main.cpp b/src/main.cpp
index 15a75d8..68ab6fb 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1145,6 +1145,7 @@ unsigned int GetNextTargetRequired(const CBlockIndex* pind
return bnProofOfStakeLimit.GetCompact(); // second block
int64 nActualSpacing = pindexPrev->GetBlockTime() - pindexPrevPrev->GetBloc
+ if (nActualSpacing <= x) nActualSpacing = x;
// if(pindexLast->nHeight < 8600)
if(false)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment