diff --git a/nym-node/src/config/entry_gateway.rs b/nym-node/src/config/entry_gateway.rs index 6807e55d58..f7c0a51c06 100644 --- a/nym-node/src/config/entry_gateway.rs +++ b/nym-node/src/config/entry_gateway.rs @@ -154,7 +154,7 @@ pub fn ephemeral_entry_gateway_config( config: Config, mnemonic: &bip39::Mnemonic, ) -> Result { - let auth_opts = LocalAuthenticatorOpts { + let mut auth_opts = LocalAuthenticatorOpts { config: nym_authenticator::Config { base: nym_client_core_config_types::Config { client: base_client_config(&config), @@ -173,6 +173,10 @@ pub fn ephemeral_entry_gateway_config( custom_mixnet_path: None, }; + if config.authenticator.debug.disable_poisson_rate { + auth_opts.config.base.set_no_poisson_process(); + } + let wg_opts = LocalWireguardOpts { config: super::Wireguard { enabled: config.wireguard.enabled, diff --git a/nym-node/src/config/exit_gateway.rs b/nym-node/src/config/exit_gateway.rs index 4c3c55fad2..0fc6b9e8ee 100644 --- a/nym-node/src/config/exit_gateway.rs +++ b/nym-node/src/config/exit_gateway.rs @@ -243,7 +243,7 @@ pub fn ephemeral_exit_gateway_config( ipr_opts.config.base.set_no_poisson_process() } - let auth_opts = LocalAuthenticatorOpts { + let mut auth_opts = LocalAuthenticatorOpts { config: nym_authenticator::Config { base: nym_client_core_config_types::Config { client: base_client_config(&config), @@ -262,6 +262,10 @@ pub fn ephemeral_exit_gateway_config( custom_mixnet_path: None, }; + if config.authenticator.debug.disable_poisson_rate { + auth_opts.config.base.set_no_poisson_process(); + } + let pub_id_path = config .storage_paths .keys