1
0

lnpeer: new payment secret, derived without preimage.

(this is needed for hold invoices)
This commit is contained in:
ThomasV
2023-06-13 17:19:23 +02:00
parent 97768a13b9
commit 21e06b7065
4 changed files with 15 additions and 6 deletions

View File

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