keychain: add missing KeyFamily type

This commit is contained in:
yyforyongyu 2020-07-04 09:39:22 +08:00 committed by yyforyongyu
parent d4d7533193
commit 6efeee4d88
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868
2 changed files with 4 additions and 1 deletions

@ -55,7 +55,7 @@ const (
// KeyFamilyRevocationBase are keys that are used within channels to
// create revocation basepoints that the remote party will use to
// create revocation keys for us.
KeyFamilyRevocationBase = 1
KeyFamilyRevocationBase KeyFamily = 1
// KeyFamilyHtlcBase are keys used within channels that will be
// combined with per-state randomness to produce public keys that will

@ -30,6 +30,9 @@ var versionZeroKeyFamilies = []KeyFamily{
KeyFamilyDelayBase,
KeyFamilyRevocationRoot,
KeyFamilyNodeKey,
KeyFamilyStaticBackup,
KeyFamilyTowerSession,
KeyFamilyTowerID,
}
var (