Browse Source

keychain: add missing KeyFamily type

master
yyforyongyu 4 years ago committed by yyforyongyu
parent
commit
6efeee4d88
No known key found for this signature in database
GPG Key ID: 9BCD95C4FF296868
  1. 2
      keychain/derivation.go
  2. 3
      keychain/interface_test.go

2
keychain/derivation.go

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

3
keychain/interface_test.go

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

Loading…
Cancel
Save