mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
Modify the treasury percent
This commit is contained in:
parent
1fad0d7df2
commit
6a084089be
1 changed files with 1 additions and 1 deletions
|
|
@ -639,5 +639,5 @@ func getTreasuryPercent(header *types.Header) int64 {
|
||||||
factorReduction := new(big.Int).Set(header.Number)
|
factorReduction := new(big.Int).Set(header.Number)
|
||||||
factorReduction.Div(factorReduction, big.NewInt(2160000))
|
factorReduction.Div(factorReduction, big.NewInt(2160000))
|
||||||
|
|
||||||
return 10 - (2 * factorReduction.Int64())
|
return 30 - (2 * factorReduction.Int64())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue