Fix typos in lightning-transaction-sync
authorbenthecarman <benthecarman@live.com>
Fri, 3 Mar 2023 05:36:54 +0000 (23:36 -0600)
committerbenthecarman <benthecarman@live.com>
Fri, 3 Mar 2023 05:36:54 +0000 (23:36 -0600)
lightning-transaction-sync/src/error.rs

index 0a529d063ec81187336df0ba6b58055093ecca7d..73d9de70169d6ea559121c2aaf9fc5656b7d1f5c 100644 (file)
@@ -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.")
                        }
                }
        }