tfollow-up previous commit (backward compatibility) - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 6e5abc049b3334f916f1fddfb6f85c2033204c3f DIR parent 55e0e1a72e7b57ef8a91722a060b6d09056e0879 HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 21 Feb 2020 15:33:15 +0100 follow-up previous commit (backward compatibility) Diffstat: M electrum/lnutil.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/electrum/lnutil.py b/electrum/lnutil.py t@@ -792,7 +792,7 @@ class LnKeyFamily(IntEnum): def generate_keypair(node: BIP32Node, key_family: LnKeyFamily) -> Keypair: - node2 = node.subkey_at_private_derivation([key_family]) + node2 = node.subkey_at_private_derivation([key_family, 0, 0]) k = node2.eckey.get_secret_bytes() cK = ecc.ECPrivkey(k).get_public_key_bytes() return Keypair(cK, k)