Skip to content

Commit

Permalink
remove ununessary dedicated setting for auth client (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
andymck committed Jun 28, 2023
1 parent 601504e commit ff1d710
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion mobile_packet_verifier/src/daemon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ impl Cmd {
.await?;

let gateway_client = GatewayClient::from_settings(&settings.config_client)?;
let auth_client = AuthorizationClient::from_settings(&settings.auth_client)?;
let auth_client = AuthorizationClient::from_settings(&settings.config_client)?;

let daemon = Daemon::new(
settings,
Expand Down
1 change: 0 additions & 1 deletion mobile_packet_verifier/src/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ pub struct Settings {
pub enable_solana_integration: bool,
pub solana: Option<solana::Settings>,
pub config_client: mobile_config::ClientSettings,
pub auth_client: mobile_config::ClientSettings,
#[serde(default = "default_start_after")]
pub start_after: u64,
}
Expand Down

0 comments on commit ff1d710

Please sign in to comment.