Skip to content

Commit 8eba327

Browse files
authored
Merge pull request #227 from GoodDaisy/main
Fix typos
2 parents 860a1d5 + 66a448e commit 8eba327

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ where
480480
Ok(true) => {
481481
log_error!(
482482
self.logger,
483-
"Spontaneous payment with hash {} was previosly known",
483+
"Spontaneous payment with hash {} was previously known",
484484
hex_utils::to_string(&payment_hash.0)
485485
);
486486
debug_assert!(false);

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
10241024
///
10251025
/// **Note:** The wallets are regularly synced in the background, which is configurable via
10261026
/// [`Config::onchain_wallet_sync_interval_secs`] and [`Config::wallet_sync_interval_secs`].
1027-
/// Therefore, using this blocking sync method is almost always redudant and should be avoided
1027+
/// Therefore, using this blocking sync method is almost always redundant and should be avoided
10281028
/// where possible.
10291029
pub fn sync_wallets(&self) -> Result<(), Error> {
10301030
let rt_lock = self.runtime.read().unwrap();

src/payment_store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl_writeable_tlv_based_enum!(PaymentDirection,
6060
pub enum PaymentStatus {
6161
/// The payment is still pending.
6262
Pending,
63-
/// The payment suceeded.
63+
/// The payment succeeded.
6464
Succeeded,
6565
/// The payment failed.
6666
Failed,

0 commit comments

Comments
 (0)