Skip to content

Commit

Permalink
rename oracle config to oraclesvc to prevent clashing with carbon ora…
Browse files Browse the repository at this point in the history
…cle flag
  • Loading branch information
yan-soon authored and yan-soon committed Jun 5, 2024
1 parent 3babce3 commit c3438e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ type Config struct {
RPC *RPCConfig `mapstructure:"rpc"`
P2P *P2PConfig `mapstructure:"p2p"`
Mempool *MempoolConfig `mapstructure:"mempool"`
Oracle *OracleConfig `mapstructure:"oracle"`
Oracle *OracleConfig `mapstructure:"oraclesvc"`
StateSync *StateSyncConfig `mapstructure:"statesync"`
BlockSync *BlockSyncConfig `mapstructure:"blocksync"`
Consensus *ConsensusConfig `mapstructure:"consensus"`
Expand Down
2 changes: 1 addition & 1 deletion config/toml.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ experimental_max_gossip_connections_to_non_persistent_peers = {{ .Mempool.Experi
#######################################################
### Oracle Configuration Option ###
#######################################################
[oracle]
[oraclesvc]
# MaxOracleGossipBlocksDelayed determines how long we should keep the gossip votes in terms of block height
max_oracle_gossip_blocks_delayed = "{{ .Oracle.MaxOracleGossipBlocksDelayed }}"
Expand Down

0 comments on commit c3438e4

Please sign in to comment.