added reply with surbs example to rust sdk examples dir

This commit is contained in:
mfahampshire
2023-07-21 14:04:33 +02:00
parent 7a38f1f469
commit b5fcfbe2fe
+2 -2
View File
@@ -1,5 +1,5 @@
use nym_sdk::mixnet::{
AnonymousSenderTag, MixnetClient, MixnetClientBuilder, ReconstructedMessage, StoragePaths,
AnonymousSenderTag, MixnetClientBuilder, ReconstructedMessage, StoragePaths,
};
use std::path::PathBuf;
@@ -8,7 +8,7 @@ async fn main() {
nym_bin_common::logging::setup_logging();
// Specify some config options
let config_dir = PathBuf::from("/tmp/surb-example-client");
let config_dir = PathBuf::from("/tmp/surb-example");
let storage_paths = StoragePaths::new_from_dir(&config_dir).unwrap();
// Create the client with a storage backend, and enable it by giving it some paths. If keys