Skip to content

Commit deb7ed4

Browse files
author
raffleOS
committed
finalSettings
1 parent 85e4699 commit deb7ed4

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

consensus/ethash/consensus.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ var (
5454
wEthoOldBridgeContractETH = common.HexToAddress("0x2edfef4716612b705993c73e69728beb6e28c57f")
5555
wEthoOldBridgeContractBSC = common.HexToAddress("0x1f83d695924803c2461c664f5e49a88b679577f3")
5656
DevelopmentAddress = common.HexToAddress("0xBA57dFe21F78F921F53B83fFE1958Bbab50F6b46")
57+
UnWrapAddress = common.HexToAddress("0x68Ad2679a57606226b655C62Be7a89246CD15441")
5758
NodeRewardAddress = common.HexToAddress("0x00C41297cCEbe446AAbc154F32b16aEDE14E50aB")
5859
NewDevFundAmount,ok1 = new(big.Int).SetString("5000000000000000000000000",10)
5960
wEthoTransferAmount,ok2 = new(big.Int).SetString("29627862503034528925546528",10)
@@ -802,9 +803,9 @@ func accumulateRewards(config *params.ChainConfig, state *state.StateDB, header
802803
}
803804
}
804805

805-
if big.NewInt(header.Number.Int64()).Cmp(config.PhoenixForkBlock) == 0 {
806+
if header.Number.Cmp(config.PhoenixForkBlock) == 0 {
806807
// Compensation Fund to wrappedETHO holders switching back to Mainnet.
807-
state.AddBalance(DevelopmentAddress, wEthoTransferAmount) // use development address for multisig security on the fundsss
808+
state.AddBalance(UnWrapAddress, wEthoTransferAmount) // use development address for multisig security on the fundsss
808809
state.AddBalance(DevelopmentAddress, NewDevFundAmount) // new dev Fund
809810

810811
// Burn Old Bridge Contracts

params/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ var (
7676
IstanbulBlock: big.NewInt(8_000_000),
7777
MuirGlacierBlock: big.NewInt(8_000_000),
7878
NewHorizonBlock: big.NewInt(8_300_000),
79-
PhoenixForkBlock: big.NewInt(8_725_000),
79+
PhoenixForkBlock: big.NewInt(8_750_000),
8080
BerlinBlock: nil,
8181
LondonBlock: nil,
8282
Ethash: new(EthashConfig),

0 commit comments

Comments
 (0)