From f296e5e5ef8398479edf7b1e0ee7c3d6cbaf13ca Mon Sep 17 00:00:00 2001 From: BTChip Date: Sat, 20 Sep 2014 14:46:26 +0200 Subject: [PATCH] Do not crash when asked to export private keys --- plugins/btchipwallet.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py index 04d40a97..dc03536c 100644 --- a/plugins/btchipwallet.py +++ b/plugins/btchipwallet.py @@ -219,6 +219,9 @@ class BTChipWallet(NewWallet): xpub = self.get_public_key(derivation) return xpub, None + def get_private_key(self, address, password): + return [] + def get_public_key(self, bip32_path): # S-L-O-W - we don't handle the fingerprint directly, so compute it manually from the previous node # This only happens once so it's bearable