From f741ed7cb96de9d3cab274e4ed731e4e77c122ca Mon Sep 17 00:00:00 2001 From: fivepiece Date: Fri, 11 Nov 2016 09:29:48 +0200 Subject: [PATCH] Take remainder from the curve's prime instead of G Instances of `point( ( key + i ) % G )` should read `point( (key + i) % p )` --- _includes/devdoc/guide_wallets.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_includes/devdoc/guide_wallets.md b/_includes/devdoc/guide_wallets.md index 736937b3..60caacfd 100644 --- a/_includes/devdoc/guide_wallets.md +++ b/_includes/devdoc/guide_wallets.md @@ -429,11 +429,11 @@ existing [(parent) public key][/en/glossary/parent-key]{:#term-parent-public-key integer (*i*) value. This child public key is the same public key which would be created by the `point()` function if you added the *i* value to the original (parent) private key and then found the remainder of that -sum divided by a global constant used by all Bitcoin software (*G*): +sum divided by a global constant used by all Bitcoin software (*p*): {% endautocrossref %} - point( (parent_private_key + i) % G ) == parent_public_key + point(i) + point( (parent_private_key + i) % p ) == parent_public_key + point(i) {% autocrossref %} @@ -451,7 +451,7 @@ operations: {% endautocrossref %} - point( (child_private_key + i) % G ) == child_public_key + point(i) + point( (child_private_key + i) % p ) == child_public_key + point(i) {% autocrossref %}