@@ -21,7 +21,7 @@ pub enum Error {
21
21
ChannelCreationFailed ,
22
22
/// A channel could not be closed.
23
23
ChannelClosingFailed ,
24
- /// A channel config could not be updated.
24
+ /// A channel configuration could not be updated.
25
25
ChannelConfigUpdateFailed ,
26
26
/// Persistence failed.
27
27
PersistenceFailed ,
@@ -47,7 +47,7 @@ pub enum Error {
47
47
InvalidSecretKey ,
48
48
/// The given payment hash is invalid.
49
49
InvalidPaymentHash ,
50
- /// The given payment preimage is invalid.
50
+ /// The given payment pre-image is invalid.
51
51
InvalidPaymentPreimage ,
52
52
/// The given payment secret is invalid.
53
53
InvalidPaymentSecret ,
@@ -59,9 +59,9 @@ pub enum Error {
59
59
InvalidChannelId ,
60
60
/// The given network is invalid.
61
61
InvalidNetwork ,
62
- /// A payment with the given hash has already been intiated .
62
+ /// A payment with the given hash has already been initiated .
63
63
DuplicatePayment ,
64
- /// There are insufficient funds to complete the given operation.
64
+ /// The available funds are insufficient to complete the given operation.
65
65
InsufficientFunds ,
66
66
}
67
67
@@ -104,7 +104,7 @@ impl fmt::Display for Error {
104
104
write ! ( f, "A payment with the given hash has already been initiated." )
105
105
}
106
106
Self :: InsufficientFunds => {
107
- write ! ( f, "There are insufficient funds to complete the given operation." )
107
+ write ! ( f, "The available funds are insufficient to complete the given operation." )
108
108
}
109
109
}
110
110
}
0 commit comments