Skip to content

Commit

Permalink
reject overwintered transactions while still in sprout, but do not ba…
Browse files Browse the repository at this point in the history
…n nodes
  • Loading branch information
Tomas-M committed Aug 1, 2018
1 parent 24722be commit abb0fd9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -882,8 +882,10 @@ bool ContextualCheckTransaction(const CTransaction& tx, CValidationState &state,

// If Sprout rules apply, reject transactions which are intended for Overwinter and beyond
if (isSprout && tx.fOverwintered) {
return state.DoS(dosLevel, error("ContextualCheckTransaction(): overwinter is not active yet"),
REJECT_INVALID, "tx-overwinter-not-active");
LogPrintf("WARNING: ContextualCheckTransaction(): overwinter is not active yet\n");
return false;
// return state.DoS(dosLevel, error("ContextualCheckTransaction(): overwinter is not active yet"),
// REJECT_INVALID, "tx-overwinter-not-active");
}

if (saplingActive) {
Expand Down

0 comments on commit abb0fd9

Please sign in to comment.