Skip to content

Commit

Permalink
fixup: Remove use_poem_backend_flag
Browse files Browse the repository at this point in the history
  • Loading branch information
banool committed Jul 22, 2022
1 parent 9961ce6 commit 7fa4e92
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions config/src/config/api_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ pub struct ApiConfig {
// optional for compatible with old configuration
#[serde(default, skip_serializing_if = "Option::is_none")]
pub content_length_limit: Option<u64>,
/// If set, use the server and API built using Poem, which enables
/// generation of an OpenAPI spec.
pub use_poem_backend: bool,
}

pub const DEFAULT_ADDRESS: &str = "127.0.0.1";
Expand All @@ -41,7 +38,6 @@ impl Default for ApiConfig {
tls_cert_path: None,
tls_key_path: None,
content_length_limit: None,
use_poem_backend: false,
}
}
}
Expand Down
1 change: 0 additions & 1 deletion crates/aptos-rosetta/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ impl ServerArgs for OfflineArgs {
tls_cert_path: self.tls_cert_path.clone(),
tls_key_path: self.tls_key_path.clone(),
content_length_limit: self.content_length_limit,
use_poem_backend: false,
}
}

Expand Down
1 change: 0 additions & 1 deletion testsuite/smoke-test/src/rosetta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ pub async fn setup_test(
tls_cert_path: None,
tls_key_path: None,
content_length_limit: None,
use_poem_backend: false,
};

// Start the server
Expand Down

0 comments on commit 7fa4e92

Please sign in to comment.