Skip to content

Commit

Permalink
making optional services default=false
Browse files Browse the repository at this point in the history
  • Loading branch information
godmodegalactus committed Sep 25, 2024
1 parent 7be507e commit f010c77
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub struct ConfigQuicPlugin {
pub allow_accounts: bool,
#[serde(default)]
pub allow_accounts_at_startup: bool,
#[serde(default = "default_true")]
#[serde(default)]
pub enable_block_builder: bool,
#[serde(default = "default_true")]
pub build_blocks_with_accounts: bool,
Expand Down
2 changes: 1 addition & 1 deletion examples/tester-server/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ pub fn main() {
number_of_retries: 100,
allow_accounts: true,
allow_accounts_at_startup: false,
enable_block_builder: true,
enable_block_builder: false,
build_blocks_with_accounts: true,
};
let quic_server = QuicServer::new(config).unwrap();
Expand Down
2 changes: 1 addition & 1 deletion plugin/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pub struct RpcServiceConfig {

impl RpcServiceConfig {
pub fn default_rpc_service_enable() -> bool {
true
false
}
pub fn default_port() -> u16 {
10801
Expand Down

0 comments on commit f010c77

Please sign in to comment.