Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #227

Merged
merged 3 commits into from
Jan 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
///
/// **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();
Expand Down
2 changes: 1 addition & 1 deletion src/payment_store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Loading