Skip to content

Commit

Permalink
Remove unused test-and-earn from nym-connect
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Sep 20, 2023
1 parent d6c27c0 commit cd3d4ff
Show file tree
Hide file tree
Showing 8 changed files with 1 addition and 499 deletions.
5 changes: 0 additions & 5 deletions nym-connect/desktop/src-tauri/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,6 @@ pub enum BackendError {
source: ClientCoreError,
},
#[error("{source}")]
ApiClientError {
#[from]
source: crate::operations::growth::api_client::ApiClientError,
},
#[error("{source}")]
EnvError {
#[from]
source: std::env::VarError,
Expand Down
7 changes: 0 additions & 7 deletions nym-connect/desktop/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,6 @@ fn main() {
crate::operations::directory::services::get_services,
crate::operations::export::export_keys,
crate::operations::window::hide_window,
crate::operations::growth::test_and_earn::growth_tne_get_client_id,
crate::operations::growth::test_and_earn::growth_tne_take_part,
crate::operations::growth::test_and_earn::growth_tne_get_draws,
crate::operations::growth::test_and_earn::growth_tne_ping,
crate::operations::growth::test_and_earn::growth_tne_submit_wallet_address,
crate::operations::growth::test_and_earn::growth_tne_enter_draw,
crate::operations::growth::test_and_earn::growth_tne_toggle_window,
crate::operations::help::log::help_log_toggle_window,
])
.on_menu_event(|event| {
Expand Down
1 change: 1 addition & 0 deletions nym-connect/desktop/src-tauri/src/operations/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use nym_client_core::client::key_manager::persistence::OnDiskKeys;
use nym_client_core::client::key_manager::KeyManager;
use nym_crypto::asymmetric::identity;

#[allow(unused)]
pub async fn get_identity_key(
state: &tauri::State<'_, Arc<RwLock<State>>>,
) -> Result<Arc<identity::KeyPair>> {
Expand Down
270 changes: 0 additions & 270 deletions nym-connect/desktop/src-tauri/src/operations/growth/api_client.rs

This file was deleted.

57 changes: 0 additions & 57 deletions nym-connect/desktop/src-tauri/src/operations/growth/assets.rs

This file was deleted.

3 changes: 0 additions & 3 deletions nym-connect/desktop/src-tauri/src/operations/growth/mod.rs

This file was deleted.

Loading

0 comments on commit cd3d4ff

Please sign in to comment.