From 9c4eaff2c259ebdcf8524a2c806608b9f3b35859 Mon Sep 17 00:00:00 2001 From: klim0v Date: Tue, 29 Mar 2022 19:12:21 +0300 Subject: [PATCH] refactor get rewards before block --- coreV2/rewards/rewards.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreV2/rewards/rewards.go b/coreV2/rewards/rewards.go index da621ed24..72d0960d2 100644 --- a/coreV2/rewards/rewards.go +++ b/coreV2/rewards/rewards.go @@ -21,7 +21,7 @@ func NewReward() *Reward { return &Reward{startHeight: 9150000, totalEmissionBig: helpers.StringToBigInt(TotalEmission)} } func (r *Reward) GetBeforeBlock(blockHeight uint64) *big.Int { - before := helpers.StringToBigInt("2423599954000000000000000000") + before := helpers.StringToBigInt("2842199955000000000000000000") for i := uint64(1); i <= blockHeight; i++ { before.Add(before, r.GetRewardForBlock(i)) }