Skip to content

Commit

Permalink
Merge released refs/heads/master into develop (#1506)
Browse files Browse the repository at this point in the history
feat: adjust halving miner reward (#1505)

Signed-off-by: Miles Zhang <[email protected]>
Co-authored-by: Miles Zhang <[email protected]>
Co-authored-by: NanZhang <[email protected]>
  • Loading branch information
3 people authored Nov 24, 2023
1 parent 18c936b commit 0669c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/utils/ckb_utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def self.base_reward(block_number, epoch_number)
end

def self.epoch_reward_with_halving(epoch_number)
Settings.default_epoch_reward.to_i >> epoch_number / HALVING_EPOCH
Settings.default_epoch_reward.to_i >> epoch_number / HALVING_EPOCH
end

def self.primary_reward(block_number, block_economic_state)
Expand Down

0 comments on commit 0669c1e

Please sign in to comment.