From 838ad85a04836ff320a4d370097a29cd6eb278e2 Mon Sep 17 00:00:00 2001 From: mfrankovi Date: Mon, 26 Feb 2024 16:12:52 +0100 Subject: [PATCH] chore: change dag rewards on aspen part one --- libraries/core_libs/consensus/src/rewards/rewards_stats.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/core_libs/consensus/src/rewards/rewards_stats.cpp b/libraries/core_libs/consensus/src/rewards/rewards_stats.cpp index f27bf3abec..1df324eac9 100644 --- a/libraries/core_libs/consensus/src/rewards/rewards_stats.cpp +++ b/libraries/core_libs/consensus/src/rewards/rewards_stats.cpp @@ -53,8 +53,8 @@ BlockStats Stats::getBlockStats(const PeriodData& blk, const std::vector& return BlockStats{blk, {}, dpos_vote_count, kCommitteeSize}; } - const auto aspen_hf_part_two = kHardforksConfig.isAspenHardforkPartTwo(blk.pbft_blk->getPeriod()); - return BlockStats{blk, trxs_fees, dpos_vote_count, kCommitteeSize, aspen_hf_part_two}; + const auto aspen_hf_part_one = kHardforksConfig.isAspenHardforkPartOne(blk.pbft_blk->getPeriod()); + return BlockStats{blk, trxs_fees, dpos_vote_count, kCommitteeSize, aspen_hf_part_one}; } std::vector Stats::processStats(const PeriodData& current_blk, const std::vector& trxs_gas_used,