Revert "Propagate cancel token to mixnet client"

This reverts commit 50a259d454.
This commit is contained in:
Andrej Mihajlov
2025-10-15 14:17:36 +02:00
committed by Jędrzej Stuczyński
parent 609f174e8d
commit e232b4fd24
2 changed files with 3 additions and 6 deletions
Generated
+1
View File
@@ -5746,6 +5746,7 @@ dependencies = [
"criterion",
"ff",
"group",
"lazy_static",
"nym-contracts-common",
"nym-pemstore",
"rand 0.8.5",
@@ -4,8 +4,7 @@
use nym_credential_storage::persistent_storage::PersistentStorage;
use nym_registration_common::NymNode;
use nym_sdk::{
DebugConfig, NymNetworkDetails, RememberMe, ShutdownToken, ShutdownTracker, TopologyProvider,
UserAgent,
DebugConfig, NymNetworkDetails, RememberMe, TopologyProvider, UserAgent,
mixnet::{
CredentialStorage, GatewaysDetailsStore, KeyStore, MixnetClient, MixnetClientBuilder,
MixnetClientStorage, OnDiskPersistent, ReplyStorageBackend, StoragePaths, x25519::KeyPair,
@@ -116,10 +115,7 @@ impl BuilderConfig {
.debug_config(debug_config)
.credentials_mode(true)
.with_remember_me(remember_me)
.custom_topology_provider(self.custom_topology_provider)
.custom_shutdown(ShutdownTracker::new_from_external_shutdown_token(
ShutdownToken::from(self.cancel_token),
));
.custom_topology_provider(self.custom_topology_provider);
#[cfg(unix)]
let builder = builder.with_connection_fd_callback(self.connection_fd_callback);