fix typo
[rust-lightning] / lightning / src / ln / chan_utils.rs
index 8a4b3982b7ff3863398d8518b172b45e604ab279..e315398d52397bff904c34ef0a6504382fb918c2 100644 (file)
@@ -317,7 +317,7 @@ impl PreCalculatedTxCreationKeys {
        }
 
        /// The transaction per-commitment point
-       pub fn per_comitment_point(&self) -> &PublicKey {
+       pub fn per_commitment_point(&self) -> &PublicKey {
                &self.0.per_commitment_point
        }
 }