Skip to content

Commit

Permalink
Updated log and nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
alanorwick committed Jan 8, 2022
1 parent cdc1720 commit 2bc2145
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion consensus/ethash/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
6 changes: 3 additions & 3 deletions core/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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),
Expand All @@ -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),
Expand Down

0 comments on commit 2bc2145

Please sign in to comment.