From 1677ea5f8e3967d9d1f7cdd6fe0fb602ca351238 Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Sun, 7 May 2023 20:46:44 +0200 Subject: [PATCH] ethw unlocker --- payouts/unlocker.go | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/payouts/unlocker.go b/payouts/unlocker.go index 7080e25..c5e1808 100644 --- a/payouts/unlocker.go +++ b/payouts/unlocker.go @@ -35,11 +35,6 @@ type UnlockerConfig struct { const minDepth = 16 -// params for ethereumPow -const byzantiumHardForkHeightethereumPow = 7280000 - -var byzantiumEthereumpow = math.MustParseBig256("2000000000000000000") - // Donate 1% from pool fees to developers const donationFee = 1.0 const donationAccount = "0xd97e0075Abe7dC9e12805345336340649b8658Df" @@ -722,10 +717,9 @@ func getConstRewardExpanse(height int64) *big.Int { } func getConstRewardEthereumpow(height int64) *big.Int { - if height >= byzantiumHardForkHeight { - return new(big.Int).Set(byzantiumEthereumpow) - } - return new(big.Int).Set(byzantiumEthereumpow) + // Rewards) + // EthereumPow + return calcBigNumber(2.0) } // ubqhash