]> git.bitcoin.ninja Git - rust-lightning/commitdiff
fix typo
authorDevrandom <c1.devrandom@niftybox.net>
Thu, 13 Aug 2020 07:58:55 +0000 (09:58 +0200)
committerDevrandom <c1.devrandom@niftybox.net>
Thu, 13 Aug 2020 07:58:55 +0000 (09:58 +0200)
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
        }
 }