Fix typos in lightning-transaction-sync

This commit is contained in:
benthecarman 2023-03-02 23:36:54 -06:00
parent b5e5435c4e
commit 53788913c9
No known key found for this signature in database
GPG key ID: D7CC770B81FD22A8

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