Merge pull request #669 from joemphilips/fix_capacity-is-always-zero-bug_in_list_channels
authorMatt Corallo <649246+TheBlueMatt@users.noreply.github.com>
Thu, 13 Aug 2020 21:06:39 +0000 (14:06 -0700)
committerGitHub <noreply@github.com>
Thu, 13 Aug 2020 21:06:39 +0000 (14:06 -0700)
Fix bug in Channel

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
        }
 }