We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f28985 commit dc480e9Copy full SHA for dc480e9
core/src/consensus/tendermint/engine.rs
@@ -173,8 +173,7 @@ impl ConsensusEngine for Tendermint {
173
return Ok(())
174
}
175
176
- let block_author = *block.header().author();
177
- stake::update_validator_weights(&mut block.state_mut(), &block_author)?;
+ stake::update_validator_weights(&mut block.state_mut(), &author)?;
178
179
stake::add_intermediate_rewards(block.state_mut(), author, block_author_reward)?;
180
0 commit comments