diff --git a/src/cryptonote_basic/cryptonote_basic_impl.cpp b/src/cryptonote_basic/cryptonote_basic_impl.cpp index 81af83d2f..7aeaedf8d 100644 --- a/src/cryptonote_basic/cryptonote_basic_impl.cpp +++ b/src/cryptonote_basic/cryptonote_basic_impl.cpp @@ -114,8 +114,8 @@ namespace cryptonote { if (current_block_size <= median_size) { reward = base_reward; - if (version >= 12) { // XXX Be careful when merging back to master, in master "halving" version is 10 - // halving reward since version 12 + if (version >= 10) { + // halving reward since version 10 reward /= 2; } return true; @@ -144,8 +144,8 @@ namespace cryptonote { assert(reward_lo < base_reward); reward = reward_lo; - if (version >= 12) { // XXX Be careful when merging back to master, in master "halving" version is 10 - // halving reward since version 12 + if (version >= 10) { + // halving reward since version 10 reward /= 2; } return true;