Skip to content

Commit

Permalink
i hate the ipr build process
Browse files Browse the repository at this point in the history
  • Loading branch information
jstuczyn committed Aug 30, 2024
1 parent 6dee57f commit b6225d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions service-providers/ip-packet-router/src/cli/ecash/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ use nym_client_core::cli_helpers::client_import_credential::CommonClientImportTi
use nym_client_core::cli_helpers::client_import_expiration_date_signatures::CommonClientImportExpirationDateSignaturesArgs;
use nym_client_core::cli_helpers::client_import_master_verification_key::CommonClientImportMasterVerificationKeyArgs;
use std::error::Error;
use nym_ip_packet_router::error::IpPacketRouterError;

pub(crate) mod import_coin_index_signatures;
pub(crate) mod import_credential;
pub(crate) mod import_expiration_date_signatures;
pub(crate) mod import_master_verification_key;
pub(crate) mod show_ticketbooks;
pub mod show_ticketbooks;

#[derive(Args)]
#[clap(args_conflicts_with_subcommands = true, subcommand_required = true)]
Expand All @@ -23,7 +23,7 @@ pub struct Ecash {
}

impl Ecash {
pub async fn execute(self) -> Result<(), Box<dyn Error + Send + Sync>> {
pub async fn execute(self) -> Result<(), IpPacketRouterError> {
match self.command {
EcashCommands::ShowTicketBooks(args) => show_ticketbooks::execute(args).await?,
EcashCommands::ImportTicketBook(args) => import_credential::execute(args).await?,
Expand Down
1 change: 0 additions & 1 deletion service-providers/ip-packet-router/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use clap::{CommandFactory, Parser, Subcommand};
use log::error;
use nym_bin_common::completions::{fig_generate, ArgShell};
use nym_bin_common::{bin_info, version_checker};
use nym_client_core::cli_helpers::client_import_credential::CommonClientImportTicketBookArgs;
use nym_client_core::cli_helpers::CliClient;
use nym_ip_packet_router::config::helpers::try_upgrade_config;
use nym_ip_packet_router::config::{BaseClientConfig, Config};
Expand Down

0 comments on commit b6225d5

Please sign in to comment.