From 2bc21451f7f1dc2e806bf553584bbdc44504734b Mon Sep 17 00:00:00 2001 From: Alan Orwick Date: Sat, 8 Jan 2022 10:57:15 -0600 Subject: [PATCH] Updated log and nonce --- consensus/ethash/consensus.go | 2 +- core/genesis.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/consensus/ethash/consensus.go b/consensus/ethash/consensus.go index d4a0519d76..f43e1dc1ba 100644 --- a/consensus/ethash/consensus.go +++ b/consensus/ethash/consensus.go @@ -802,7 +802,7 @@ func (ethash *Ethash) TraceBranch(chain consensus.ChainHeaderReader, header *typ if prevHeader == nil { extBlock, err := chain.GetExternalBlock(header.ParentHash[context], header.Number[context].Uint64()-1, uint64(context)) if err != nil { - log.Warn("Trace Branch: External Block not found for previous header", "number", header.Number[context], "context", context, header.ParentHash[context]) + log.Warn("Trace Branch: External Block not found for previous header", "number", header.Number[context], "context", context, "hash", header.ParentHash[context]) break } prevHeader = extBlock.Header() diff --git a/core/genesis.go b/core/genesis.go index 76740857e5..f531d613ef 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -352,7 +352,7 @@ func MainnetPrimeGenesisBlock() *Genesis { return &Genesis{ Config: params.MainnetPrimeChainConfig, Number: 0, - Nonce: 77, + Nonce: 42, ExtraData: hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), GasLimit: 5000000, Difficulty: big.NewInt(16048576), @@ -365,7 +365,7 @@ func MainnetRegionGenesisBlock(regionParams *params.ChainConfig) *Genesis { return &Genesis{ Config: regionParams, Number: 0, - Nonce: 77, + Nonce: 42, ExtraData: hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), GasLimit: 1600000, Difficulty: big.NewInt(4048576), @@ -378,7 +378,7 @@ func MainnetZoneGenesisBlock(zoneParams *params.ChainConfig) *Genesis { return &Genesis{ Config: zoneParams, Number: 0, - Nonce: 77, + Nonce: 42, ExtraData: hexutil.MustDecode("0x11bbe8db4e347b4e8c937c1c8370e4b5ed33adb3db69cbdb7a38e1e50b1b82fa"), GasLimit: 500000, Difficulty: big.NewInt(1048576),