Merge pull request #2067 from benthecarman/fix-typos
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Fri, 3 Mar 2023 20:00:12 +0000 (20:00 +0000)
committerGitHub <noreply@github.com>
Fri, 3 Mar 2023 20:00:12 +0000 (20:00 +0000)
Fix typos in lightning-transaction-sync

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.")
                        }
                }
        }