Do not crash when asked to export private keys
This commit is contained in:
@@ -219,6 +219,9 @@ class BTChipWallet(NewWallet):
|
|||||||
xpub = self.get_public_key(derivation)
|
xpub = self.get_public_key(derivation)
|
||||||
return xpub, None
|
return xpub, None
|
||||||
|
|
||||||
|
def get_private_key(self, address, password):
|
||||||
|
return []
|
||||||
|
|
||||||
def get_public_key(self, bip32_path):
|
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
|
# 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
|
# This only happens once so it's bearable
|
||||||
|
|||||||
Reference in New Issue
Block a user