tfix signing in imported keystores - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit fb548018b4557743214805c88e3c4f605d6dde95 DIR parent b5d129b09ae73f05aa44ce1dfc84ab50d0aa4555 HTML Author: ThomasV <thomasv@electrum.org> Date: Mon, 29 Aug 2016 07:39:27 +0200 fix signing in imported keystores Diffstat: M lib/keystore.py | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/keystore.py b/lib/keystore.py t@@ -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