From c3438e4637f31fa0b0c8b2b321a7293fd3fb2cca Mon Sep 17 00:00:00 2001 From: yan-soon Date: Wed, 5 Jun 2024 15:22:10 +0800 Subject: [PATCH] rename oracle config to oraclesvc to prevent clashing with carbon oracle flag --- config/config.go | 2 +- config/toml.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/config.go b/config/config.go index 9b651bdc6cd..44536521d0f 100644 --- a/config/config.go +++ b/config/config.go @@ -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"` diff --git a/config/toml.go b/config/toml.go index 6db4154261a..306996d5cff 100644 --- a/config/toml.go +++ b/config/toml.go @@ -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 }}"