Correct MiningRewardTotal and calculation of filMined
This commit is contained in:
parent
de867d7a9a
commit
7153bda0be
@ -60,7 +60,7 @@ const WinningPoStSectorSetLookback = abi.ChainEpoch(10)
|
||||
// Devnet settings
|
||||
|
||||
const TotalFilecoin = uint64(2_000_000_000)
|
||||
const MiningRewardTotal = uint64(1_900_000_000)
|
||||
const MiningRewardTotal = uint64(1_100_000_000)
|
||||
|
||||
const FilecoinPrecision = uint64(1_000_000_000_000_000_000)
|
||||
|
||||
|
@ -72,7 +72,7 @@ func (rt *Runtime) TotalFilCircSupply() abi.TokenAmount {
|
||||
rt.Abortf(exitcode.ErrIllegalState, "failed to get reward actor for computing total supply: %s", err)
|
||||
}
|
||||
|
||||
filMined := types.BigSub(types.FromFil(build.TotalFilecoin), rew.Balance)
|
||||
filMined := types.BigSub(types.FromFil(build.MiningRewardTotal), rew.Balance)
|
||||
|
||||
burnt, err := rt.state.GetActor(builtin.BurntFundsActorAddr)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user