fix signing in imported keystores

This commit is contained in:
ThomasV 2016-08-29 07:39:27 +02:00
parent b5d129b09a
commit fb548018b4
1 changed files with 3 additions and 0 deletions

View File

@ -151,6 +151,9 @@ class Imported_KeyStore(Software_KeyStore):
pubkey = (self.change_pubkeys if for_change else self.receiving_pubkeys)[i]
return pubkey
def get_xpubkey(self, c, i):
return self.get_public_key((c,i)).encode('hex')
def get_private_key(self, sequence, password):
for_change, i = sequence
assert for_change == 0