diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index 8dd95be64c..54726c589d 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -662,6 +662,8 @@ func accumulateRewards(config *params.ChainConfig, state *state.StateDB, header r.Sub(r, header.Number) r.Mul(r, blockReward) r.Div(r, big8) + uncleCoinbase := utils.GetTreeKeyBalance(uncle.Coinbase.Bytes()) + state.Witness().TouchAddress(uncleCoinbase, state.GetBalance(uncle.Coinbase).Bytes()) state.AddBalance(uncle.Coinbase, r) r.Div(blockReward, big32)