From aca08e42f874edd74600a4651d9101cf2505fc40 Mon Sep 17 00:00:00 2001 From: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> Date: Fri, 12 Jan 2024 21:38:22 +0800 Subject: [PATCH 1/3] Fix typo in src/event.rs --- src/event.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event.rs b/src/event.rs index 192e0b8c2..70b49610f 100644 --- a/src/event.rs +++ b/src/event.rs @@ -480,7 +480,7 @@ where Ok(true) => { log_error!( self.logger, - "Spontaneous payment with hash {} was previosly known", + "Spontaneous payment with hash {} was previously known", hex_utils::to_string(&payment_hash.0) ); debug_assert!(false); From e14e1ad459a8e8b60a1c0ba4ba1358068abedcce Mon Sep 17 00:00:00 2001 From: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> Date: Fri, 12 Jan 2024 21:38:29 +0800 Subject: [PATCH 2/3] Fix typo in src/lib.rs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 3d51ef984..8228b4292 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1024,7 +1024,7 @@ impl Node { /// /// **Note:** The wallets are regularly synced in the background, which is configurable via /// [`Config::onchain_wallet_sync_interval_secs`] and [`Config::wallet_sync_interval_secs`]. - /// Therefore, using this blocking sync method is almost always redudant and should be avoided + /// Therefore, using this blocking sync method is almost always redundant and should be avoided /// where possible. pub fn sync_wallets(&self) -> Result<(), Error> { let rt_lock = self.runtime.read().unwrap(); From 66a448e0cb36675f12b7dd5437d4aaf046e921ba Mon Sep 17 00:00:00 2001 From: GoodDaisy <90915921+GoodDaisy@users.noreply.github.com> Date: Fri, 12 Jan 2024 21:38:35 +0800 Subject: [PATCH 3/3] Fix typo in src/payment_store.rs --- src/payment_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/payment_store.rs b/src/payment_store.rs index a54175766..bc0534188 100644 --- a/src/payment_store.rs +++ b/src/payment_store.rs @@ -60,7 +60,7 @@ impl_writeable_tlv_based_enum!(PaymentDirection, pub enum PaymentStatus { /// The payment is still pending. Pending, - /// The payment suceeded. + /// The payment succeeded. Succeeded, /// The payment failed. Failed,