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 86943e6 commit c9e9fa4Copy full SHA for c9e9fa4
node/src/actors/chain_manager/mod.rs
@@ -1027,6 +1027,12 @@ impl ChainManager {
1027
if get_protocol_version(Some(block_epoch)) == ProtocolVersion::V2_0 {
1028
let _ = stakes.reset_age(miner_pkh, Capability::Mining, current_epoch, 1);
1029
1030
+ for co_tx in &block.txns.commit_txns {
1031
+ let commit_pkh = co_tx.body.proof.proof.pkh();
1032
+ let _ =
1033
+ stakes.reset_age(commit_pkh, Capability::Witnessing, current_epoch, 1);
1034
+ }
1035
+
1036
let epoch_constants = self.epoch_constants.unwrap();
1037
let utxo_diff =
1038
UtxoDiff::new(&self.chain_state.unspent_outputs_pool, block_epoch);
0 commit comments