Skip to content

Commit

Permalink
chore(chain): json marsharl ChainName to chainName
Browse files Browse the repository at this point in the history
Signed-off-by: jsvisa <delweng@gmail.com>
  • Loading branch information
jsvisa committed Apr 5, 2024
1 parent cb755cb commit ae1c3e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erigon-lib/chain/chain_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
// that any network, identified by its genesis block, can have its own
// set of configuration options.
type Config struct {
ChainName string
ChainName string `json:"chainName"`
ChainID *big.Int `json:"chainId"` // chainId identifies the current chain and is used for replay protection

Consensus ConsensusName `json:"consensus,omitempty"` // aura, ethash or clique
Expand Down

0 comments on commit ae1c3e2

Please sign in to comment.