Browse Source

Removing founders reward

In metrics founders reward was still counted resulting on displaying 10 mined HUSH instead of actual 12.5 HUSH.
pull/117/head
TheTrunk 6 years ago
committed by GitHub
parent
commit
f40fd344e3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      src/metrics.cpp

3
src/metrics.cpp

@ -329,9 +329,6 @@ int printMetrics(size_t cols, bool mining)
chainActive.Contains(mapBlockIndex[hash])) {
int height = mapBlockIndex[hash]->nHeight;
CAmount subsidy = GetBlockSubsidy(height, consensusParams);
if ((height > 0) && (height <= consensusParams.GetLastFoundersRewardBlockHeight())) {
subsidy -= subsidy/5;
}
if (std::max(0, COINBASE_MATURITY - (tipHeight - height)) > 0) {
immature += subsidy;
} else {

Loading…
Cancel
Save