keychain: add missing KeyFamily type

This commit is contained in:
yyforyongyu authored and yyforyongyu committed 2020-09-17 10:14:54 +08:00
1 parent d4d7533193
commit 6efeee4d88
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@ const (
// KeyFamilyRevocationBase are keys that are used within channels to // KeyFamilyRevocationBase are keys that are used within channels to
// create revocation basepoints that the remote party will use to // create revocation basepoints that the remote party will use to
// create revocation keys for us. // create revocation keys for us.
KeyFamilyRevocationBase = 1 KeyFamilyRevocationBase KeyFamily = 1
// KeyFamilyHtlcBase are keys used within channels that will be // KeyFamilyHtlcBase are keys used within channels that will be
// combined with per-state randomness to produce public keys that will // combined with per-state randomness to produce public keys that will
+3
View File
@@ -30,6 +30,9 @@ var versionZeroKeyFamilies = []KeyFamily{
KeyFamilyDelayBase, KeyFamilyDelayBase,
KeyFamilyRevocationRoot, KeyFamilyRevocationRoot,
KeyFamilyNodeKey, KeyFamilyNodeKey,
KeyFamilyStaticBackup,
KeyFamilyTowerSession,
KeyFamilyTowerID,
} }
var ( var (