Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Azat Nizametdinov <[email protected]>
  • Loading branch information
Nizametdinov committed May 13, 2019
1 parent 929bfe5 commit d17ca5c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/staking/block_reward_validator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class BlockRewardValidatorImpl : public BlockRewardValidator {
assert(MoneyRange(input_amount));
assert(MoneyRange(fees));

const CBlockIndex &prev_block = *index.pprev;
CAmount total_reward = fees + m_behavior->CalculateBlockReward(index.nHeight);

std::size_t num_reward_outputs = 1;
Expand Down

0 comments on commit d17ca5c

Please sign in to comment.