Skip to content

Commit 86563e4

Browse files
authored
Merge pull request lightningdevkit#101 from tankyleo/26-01-typo-fixes
2 parents f3738d7 + 316403e commit 86563e4

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

ldk-server/ldk-server-cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct Cli {
5353
short,
5454
long,
5555
required(true),
56-
help = "Path to the server's TLS certificate file (PEM format). Found at <server_storage_dir>/tls_cert.pem"
56+
help = "Path to the server's TLS certificate file (PEM format). Found at <server_storage_dir>/tls.crt"
5757
)]
5858
tls_cert: String,
5959

ldk-server/ldk-server-client/src/client.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const APPLICATION_OCTET_STREAM: &str = "application/octet-stream";
4242
/// Client to access a hosted instance of LDK Server.
4343
///
4444
/// The client requires the server's TLS certificate to be provided for verification.
45-
/// This certificate can be found at `<server_storage_dir>/tls_cert.pem` after the
45+
/// This certificate can be found at `<server_storage_dir>/tls.crt` after the
4646
/// server generates it on first startup.
4747
#[derive(Clone)]
4848
pub struct LdkServerClient {
@@ -57,7 +57,7 @@ impl LdkServerClient {
5757
/// `base_url` should not include the scheme, e.g., `localhost:3000`.
5858
/// `api_key` is used for HMAC-based authentication.
5959
/// `server_cert_pem` is the server's TLS certificate in PEM format. This can be
60-
/// found at `<server_storage_dir>/tls_cert.pem` after the server starts.
60+
/// found at `<server_storage_dir>/tls.crt` after the server starts.
6161
pub fn new(base_url: String, api_key: String, server_cert_pem: &[u8]) -> Result<Self, String> {
6262
let cert = Certificate::from_pem(server_cert_pem)
6363
.map_err(|e| format!("Failed to parse server certificate: {e}"))?;

ldk-server/ldk-server/ldk-server-config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dir_path = "/tmp/ldk-server/" # Path for LDK and BDK data persis
1212

1313
[log]
1414
level = "Debug" # Log level (Error, Warn, Info, Debug, Trace)
15-
file_path = "/tmp/ldk-server/ldk-server.log" # Log file path
15+
file = "/tmp/ldk-server/ldk-server.log" # Log file path
1616

1717
[tls]
1818
#cert_path = "/path/to/tls.crt" # Path to TLS certificate, by default uses dir_path/tls.crt

0 commit comments

Comments
 (0)