electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit fb548018b4557743214805c88e3c4f605d6dde95
parent b5d129b09ae73f05aa44ce1dfc84ab50d0aa4555
Author: ThomasV <thomasv@electrum.org>
Date:   Mon, 29 Aug 2016 07:39:27 +0200

fix signing in imported keystores

Diffstat:
Mlib/keystore.py | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/keystore.py b/lib/keystore.py @@ -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