tfix wallet.can_export - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 9c28489bc025929eb25c53b7b10562f95179a98d
DIR parent 46e602357835bed655b8c9b5d46879e34098a957
HTML Author: ThomasV <thomasv@electrum.org>
Date: Mon, 10 Jul 2017 09:46:11 +0200
fix wallet.can_export
Diffstat:
M lib/wallet.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/lib/wallet.py b/lib/wallet.py
t@@ -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,[])