fix wallet.can_export

This commit is contained in:
ThomasV 2017-07-10 09:46:11 +02:00
parent 46e6023578
commit 9c28489bc0
1 changed files with 1 additions and 1 deletions

View File

@ -995,7 +995,7 @@ class Abstract_Wallet(PrintError):
self.synchronize()
def can_export(self):
return not self.is_watching_only()
return not self.is_watching_only() and hasattr(self.keystore, 'get_private_key')
def is_used(self, address):
h = self.history.get(address,[])