review fixes

This commit is contained in:
Ian Norden
2019-04-02 10:10:17 -05:00
parent 185f4c0e93
commit fd407825c1
4 changed files with 8 additions and 7 deletions
@@ -24,6 +24,9 @@ import (
)
// (U_n + 8 - B_n) * R / 8
// https://github.com/ethereum/go-ethereum/issues/1591
// https://ethereum.stackexchange.com/questions/27172/different-uncles-reward
// https://github.com/ethereum/homestead-guide/issues/399
// Returns a map of miner addresses to a map of the uncles they mined (hashes) to the rewards received for that uncle
func CalcUnclesReward(block core.Block, uncles []*types.Header) (*big.Int, map[string]map[string]*big.Int) {
uncleRewards := new(big.Int)