Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
yograterol committed Oct 11, 2018
1 parent 0bc511e commit bcf7a70
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions ethcore/src/ethereum/ethash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,25 +269,7 @@ impl Engine<EthereumMachine> for Arc<Ethash> {
// Bestow block rewards.
let mut result_block_reward = reward + reward.shr(5) * U256::from(n_uncles);

<<<<<<< HEAD
rewards.push((author, RewardKind::Author, result_block_reward));
=======
if number >= self.ethash_params.mcip3_transition {
result_block_reward = self.ethash_params.mcip3_miner_reward;

let ubi_contract = self.ethash_params.mcip3_ubi_contract;
let ubi_reward = self.ethash_params.mcip3_ubi_reward;
let dev_contract = self.ethash_params.mcip3_dev_contract;
let dev_reward = self.ethash_params.mcip3_dev_reward;

rewards.push((author, RewardKind::Author, result_block_reward));
rewards.push((ubi_contract, RewardKind::External, ubi_reward));
rewards.push((dev_contract, RewardKind::External, dev_reward));

} else {
rewards.push((author, RewardKind::Author, result_block_reward));
}
>>>>>>> Remove ethash params

// Bestow uncle rewards.
for u in LiveBlock::uncles(&*block) {
Expand Down

0 comments on commit bcf7a70

Please sign in to comment.