Skip to content

Commit 56ad1c6

Browse files
authored
Merge pull request #6115 from nymtech/am/revert-cancel-token
Revert "Propagate cancel token to mixnet client"
2 parents 10b4a28 + 8b73d4e commit 56ad1c6

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nym-registration-client/src/builder/config.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
use nym_credential_storage::persistent_storage::PersistentStorage;
55
use nym_registration_common::NymNode;
66
use nym_sdk::{
7-
DebugConfig, NymNetworkDetails, RememberMe, ShutdownToken, ShutdownTracker, TopologyProvider,
8-
UserAgent,
7+
DebugConfig, NymNetworkDetails, RememberMe, TopologyProvider, UserAgent,
98
mixnet::{
109
CredentialStorage, GatewaysDetailsStore, KeyStore, MixnetClient, MixnetClientBuilder,
1110
MixnetClientStorage, OnDiskPersistent, ReplyStorageBackend, StoragePaths, x25519::KeyPair,
@@ -116,10 +115,7 @@ impl BuilderConfig {
116115
.debug_config(debug_config)
117116
.credentials_mode(true)
118117
.with_remember_me(remember_me)
119-
.custom_topology_provider(self.custom_topology_provider)
120-
.custom_shutdown(ShutdownTracker::new_from_external_shutdown_token(
121-
ShutdownToken::from(self.cancel_token),
122-
));
118+
.custom_topology_provider(self.custom_topology_provider);
123119

124120
#[cfg(unix)]
125121
let builder = builder.with_connection_fd_callback(self.connection_fd_callback);

0 commit comments

Comments
 (0)