From: Matt Corallo Date: Thu, 1 Apr 2021 19:06:55 +0000 (-0400) Subject: f fix comment spelling X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2021-03-payment-failed-diagnostics;p=rust-lightning f fix comment spelling --- diff --git a/lightning/src/util/events.rs b/lightning/src/util/events.rs index ffd761770..3065334f4 100644 --- a/lightning/src/util/events.rs +++ b/lightning/src/util/events.rs @@ -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,