Skip to content

Commit ccb75f3

Browse files
committed
Fix typo in error proto.
1 parent 86e964e commit ccb75f3

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

ldk-server-protos/src/error.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ pub struct ErrorResponse {
2020
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
2121
#[repr(i32)]
2222
pub enum ErrorCode {
23-
/// Will neve be used as `error_code` by ldk-server.
23+
/// Will never be used as `error_code` by server.
2424
///
2525
/// **Caution**: If a new type of `error_code` is introduced in the `ErrorCode` enum, `error_code` field will be set to
2626
/// `UnknownError`.
@@ -35,7 +35,7 @@ pub enum ErrorCode {
3535
AuthError = 2,
3636
/// Used to represent an error while doing a Lightning operation.
3737
LightningError = 3,
38-
/// Used when an internal ldk-server error occurred. The ldk-ldk-server-client is probably at no fault.
38+
/// Used when an internal server error occurred. The client is probably at no fault.
3939
InternalServerError = 4,
4040
}
4141
impl ErrorCode {

ldk-server-protos/src/proto/error.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ message ErrorResponse {
2121

2222
enum ErrorCode {
2323

24-
// Will neve be used as `error_code` by server.
24+
// Will never be used as `error_code` by server.
2525
//
2626
// **Caution**: If a new type of `error_code` is introduced in the `ErrorCode` enum, `error_code` field will be set to
2727
// `UnknownError`.

0 commit comments

Comments
 (0)