Skip to content
This repository was archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
genesis fix
Browse files Browse the repository at this point in the history
  • Loading branch information
igorcrevar committed Nov 6, 2023
1 parent e780abd commit c456429
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command/genesis/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@ type genesisParams struct {

extraData []byte

consensusEngineConfig map[string]interface{}

genesisConfig *chain.Chain

// PolyBFT
Expand Down Expand Up @@ -202,7 +200,9 @@ func (p *genesisParams) initGenesisConfig() error {
Params: &chain.Params{
ChainID: int64(p.chainID),
Forks: enabledForks,
Engine: p.consensusEngineConfig,
Engine: map[string]interface{}{
p.consensusRaw: map[string]interface{}{},
},
},
Bootnodes: p.bootnodes,
}
Expand Down

0 comments on commit c456429

Please sign in to comment.