From 53788913c93929e4a2d52f9396a8dfe5a8fbd2bc Mon Sep 17 00:00:00 2001 From: benthecarman Date: Thu, 2 Mar 2023 23:36:54 -0600 Subject: [PATCH] Fix typos in lightning-transaction-sync --- lightning-transaction-sync/src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lightning-transaction-sync/src/error.rs b/lightning-transaction-sync/src/error.rs index 0a529d063..73d9de701 100644 --- a/lightning-transaction-sync/src/error.rs +++ b/lightning-transaction-sync/src/error.rs @@ -22,7 +22,7 @@ impl fmt::Display for TxSyncError { pub(crate) enum InternalError { /// A transaction sync failed and needs to be retried eventually. Failed, - /// An inconsisteny was encounterd during transaction sync. + /// An inconsistency was encountered during transaction sync. Inconsistency, } @@ -32,7 +32,7 @@ impl fmt::Display for InternalError { match *self { Self::Failed => write!(f, "Failed to conduct transaction sync."), Self::Inconsistency => { - write!(f, "Encountered an inconsisteny during transaction sync.") + write!(f, "Encountered an inconsistency during transaction sync.") } } } -- 2.39.5