f fix comment spelling 2021-03-payment-failed-diagnostics
authorMatt Corallo <git@bluematt.me>
Thu, 1 Apr 2021 19:06:55 +0000 (15:06 -0400)
committerMatt Corallo <git@bluematt.me>
Thu, 1 Apr 2021 19:06:55 +0000 (15:06 -0400)
lightning/src/util/events.rs

index ffd761770c1e06998c2409e3dfe0f049aac72217..3065334f44200af89caef9d48602962e89bb3f25 100644 (file)
@@ -109,14 +109,14 @@ pub enum Event {
                /// retry the payment via a different route.
                ///
                /// Note that if the destination node returned garbage which we were unable to
-               /// understanding, this will *not* be set, indicating that retrying the payment over
+               /// understand, this will *not* be set, indicating that retrying the payment over
                /// another path is unlikely to solve the issue.
                rejected_by_dest: bool,
                /// Indicates the payment was rejected by the first hop in the route. This may be useful to
                /// detect when an otherwise-trusted peer rejected a payment.
                ///
-               /// Note that this is not set if we reject the payment ourselves (eg because our connection
-               /// to the next-hop peer was closed).
+               /// Note that this is not set if we reject the payment ourselves (e.g. because our
+               /// connection to the next-hop peer was closed).
                rejected_by_first_hop: bool,
 #[cfg(test)]
                error_code: Option<u16>,