From: benthecarman Date: Fri, 3 Mar 2023 05:36:54 +0000 (-0600) Subject: Fix typos in lightning-transaction-sync X-Git-Tag: v0.0.114~6^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=53788913c93929e4a2d52f9396a8dfe5a8fbd2bc;p=rust-lightning Fix typos in lightning-transaction-sync --- 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.") } } }