Skip to content

Commit

Permalink
caplin: Omit marshalling if nil (#13878)
Browse files Browse the repository at this point in the history
Cherry pick #13832
  • Loading branch information
shohamc1 authored Feb 20, 2025
1 parent 19e037e commit 9ffb8af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cl/clparams/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,8 @@ type NetworkConfig struct {
SyncCommsSubnetKey string `yaml:"-" json:"-"` // SyncCommsSubnetKey is the ENR key of the sync committee subnet bitfield in the enr.
MinimumPeersInSubnetSearch uint64 `yaml:"-" json:"-"` // PeersInSubnetSearch is the required amount of peers that we need to be able to lookup in a subnet search.

BootNodes []string
StaticPeers []string
BootNodes []string `yaml:"-" json:"-"`
StaticPeers []string `yaml:"-" json:"-"`
}

var NetworkConfigs map[NetworkType]NetworkConfig = map[NetworkType]NetworkConfig{
Expand Down

0 comments on commit 9ffb8af

Please sign in to comment.