Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Commit

Permalink
Fix #1009
Browse files Browse the repository at this point in the history
  • Loading branch information
maslenitsa93 committed Apr 9, 2019
1 parent aa6e318 commit ed4f4e0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions libraries/chain/steem_evaluator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,12 +532,6 @@ namespace golos { namespace chain {
}

GOLOS_CHECK_PARAM(percent, {
if (!_db.has_hardfork(STEEMIT_HARDFORK_0_21__1009)) {
GOLOS_CHECK_VALUE(STEEMIT_MIN_CURATION_PERCENT_PRE_HF21 <= percent && percent <= STEEMIT_MAX_CURATION_PERCENT,
"Curation rewards percent must be between ${min} and ${max}.",
("min", STEEMIT_MIN_CURATION_PERCENT_PRE_HF21)("max", STEEMIT_MAX_CURATION_PERCENT));
}

GOLOS_CHECK_VALUE(mprops.min_curation_percent <= ccrp.percent && ccrp.percent <= mprops.max_curation_percent,
"Curation rewards percent must be between ${min} and ${max}.",
("min", mprops.min_curation_percent)("max", mprops.max_curation_percent));
Expand Down

0 comments on commit ed4f4e0

Please sign in to comment.