Fixed comments after review and test after rebase

This commit is contained in:
Anton Gavrilov
2017-07-31 18:10:06 +02:00
parent 8826fdb03a
commit 141c2fd34a
7 changed files with 8 additions and 14 deletions

View File

@@ -301,14 +301,14 @@ impl Engine for Arc<Ethash> {
result_uncle_reward = reward * U256::from(8 + u.number() - current_number) / U256::from(8);
fields.state.add_balance(
u.author(),
&(result_uncle_reward),
&result_uncle_reward,
CleanupMode::NoEmpty
)
} else {
result_uncle_reward = reward / U256::from(32);
fields.state.add_balance(
u.author(),
&(result_uncle_reward),
&result_uncle_reward,
CleanupMode::NoEmpty
)
}?;