keychain: fix comment about derivation path

This commit is contained in:
Oliver Gugger 2019-07-22 21:52:36 +02:00
parent 807012f960
commit 3704c0e149
No known key found for this signature in database
GPG Key ID: 8E4256593F177720

@ -45,7 +45,7 @@ var (
// The key derivation in this file follows the following hierarchy based on // The key derivation in this file follows the following hierarchy based on
// BIP43: // BIP43:
// //
// * m/1017'/coinType'/keyFamily/0/index // * m/1017'/coinType'/keyFamily'/0/index
type KeyFamily uint32 type KeyFamily uint32
const ( const (
@ -110,9 +110,9 @@ const (
// Version 0 of our key derivation schema uses the following BIP43-like // Version 0 of our key derivation schema uses the following BIP43-like
// derivation: // derivation:
// //
// * m/201'/coinType'/keyFamily/0/index // * m/1017'/coinType'/keyFamily'/0/index
// //
// Our purpose is 201 (chosen arbitrary for now), and the coin type will vary // Our purpose is 1017 (chosen arbitrary for now), and the coin type will vary
// based on which coin/chain the channels are being created on. The key family // based on which coin/chain the channels are being created on. The key family
// are actually just individual "accounts" in the nomenclature of BIP43. By // are actually just individual "accounts" in the nomenclature of BIP43. By
// default we assume a branch of 0 (external). Finally, the key index (which // default we assume a branch of 0 (external). Finally, the key index (which