1
0

lightning: add payment methods to lnworker

This commit is contained in:
ThomasV
2018-05-28 10:43:50 +02:00
parent c621ae8f6e
commit 0552c61b66
4 changed files with 64 additions and 46 deletions

View File

@@ -385,7 +385,7 @@ class BIP32_KeyStore(Deterministic_KeyStore, Xpub):
def get_keypair(self, sequence, password):
k, _ = self.get_private_key(sequence, password)
K, cK = get_pubkeys_from_secret(k)
cK = ecc.ECPrivkey(k).get_public_key_bytes()
return cK, k
class Old_KeyStore(Deterministic_KeyStore):