Skip to content

Commit

Permalink
Sugarchain: add: MAKE WARNING at <pow.cpp>
Browse files Browse the repository at this point in the history
  • Loading branch information
ak committed Feb 21, 2019
1 parent 9b198c1 commit 617f6c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ unsigned int GetNextWorkRequired(const CBlockIndex* pindexLast, const CBlockHead
// Comparing to pindexLast->nHeight with >= because this function
// returns the work required for the block after pindexLast.
if (params.nPowAllowMinDifficultyBlocksAfterHeight != boost::none &&
pindexLast->nHeight >= params.nPowAllowMinDifficultyBlocksAfterHeight.get())
pindexLast->nHeight >= params.nPowAllowMinDifficultyBlocksAfterHeight.get()) // FIXME.SUGAR
// BEGIN - ADD MAKE WARNING
#warning "Note: 'pindexLast->nHeight >= params.nPowAllowMinDifficultyBlocksAfterHeight.get()' That's OK.";
// END - ADD MAKE WARNING
{
// Special difficulty rule for testnet:
// If the new block's timestamp is more than 6 * 2.5 minutes
Expand Down

0 comments on commit 617f6c6

Please sign in to comment.