fix wallet.can_export
This commit is contained in:
parent
46e6023578
commit
9c28489bc0
|
@ -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,[])
|
||||
|
|
Loading…
Reference in New Issue