aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_basic_impl.cpp
diff options
context:
space:
mode:
authorthankful_for_today <my email>2014-04-18 01:21:40 +0400
committerthankful_for_today <my email>2014-04-18 01:21:40 +0400
commit1a8f5ce89a990e54ec757affff01f27d449640bc (patch)
treef5e4009bf8745c4455979e6164eba2e6ecb4b12f /src/cryptonote_core/cryptonote_basic_impl.cpp
parentPort mapping with UPnP (diff)
downloadmonero-1a8f5ce89a990e54ec757affff01f27d449640bc.tar.xz
Bitmonero release
Diffstat (limited to 'src/cryptonote_core/cryptonote_basic_impl.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_basic_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_core/cryptonote_basic_impl.cpp b/src/cryptonote_core/cryptonote_basic_impl.cpp
index 24b6b59d0..876b966d6 100644
--- a/src/cryptonote_core/cryptonote_basic_impl.cpp
+++ b/src/cryptonote_core/cryptonote_basic_impl.cpp
@@ -34,7 +34,7 @@ namespace cryptonote {
}
//-----------------------------------------------------------------------------------------------
bool get_block_reward(size_t median_size, size_t current_block_size, uint64_t already_generated_coins, uint64_t &reward) {
- uint64_t base_reward = (MONEY_SUPPLY - already_generated_coins) >> 18;
+ uint64_t base_reward = (MONEY_SUPPLY - already_generated_coins) >> EMISSION_SPEED_FACTOR;
//make it soft
if (median_size < CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE) {