Skip to content

Commit

Permalink
chore: change dag rewards on aspen part one
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrankovi committed Feb 26, 2024
1 parent 2dd9a34 commit 838ad85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/core_libs/consensus/src/rewards/rewards_stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ BlockStats Stats::getBlockStats(const PeriodData& blk, const std::vector<gas_t>&
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<BlockStats> Stats::processStats(const PeriodData& current_blk, const std::vector<gas_t>& trxs_gas_used,
Expand Down

0 comments on commit 838ad85

Please sign in to comment.