Browse Source

Expanse improvement

master
yuriy0803 3 years ago
parent
commit
0cee8c8861
  1. 4
      payouts/unlocker.go

4
payouts/unlocker.go

@ -741,10 +741,10 @@ func getUncleReward(uHeight *big.Int, height *big.Int, era *big.Int, reward *big
// expanse // expanse
func getConstRewardExpanse(height int64) *big.Int { func getConstRewardExpanse(height int64) *big.Int {
if height >= byzantiumHardForkHeight { if height >= byzantiumHardForkHeight {
return new(big.Int).Set(homesteadExpanseReward)
}
return new(big.Int).Set(byzantiumExpanseReward) return new(big.Int).Set(byzantiumExpanseReward)
} }
return new(big.Int).Set(homesteadExpanseReward)
}
func getConstRewardEthereumpow(height int64) *big.Int { func getConstRewardEthereumpow(height int64) *big.Int {
// Rewards) // Rewards)

Loading…
Cancel
Save