lnpeer: new payment secret, derived without preimage.
(this is needed for hold invoices)
This commit is contained in:
@@ -1538,6 +1538,7 @@ class LnKeyFamily(IntEnum):
|
||||
REVOCATION_ROOT = 5 | BIP32_PRIME
|
||||
NODE_KEY = 6
|
||||
BACKUP_CIPHER = 7 | BIP32_PRIME
|
||||
PAYMENT_SECRET_KEY = 8 | BIP32_PRIME
|
||||
|
||||
|
||||
def generate_keypair(node: BIP32Node, key_family: LnKeyFamily) -> Keypair:
|
||||
|
||||
Reference in New Issue
Block a user