tdo_export_privkeys: replace wallet.seed with is_watching_only - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 8f19f9bf28f654fafa2d8a78d5f3fdb9a5a805be DIR parent 0a0186bc5d8aeec4793665b679627dcce18e8075 HTML Author: ThomasV <thomasv@gitorious> Date: Thu, 1 May 2014 15:04:12 +0200 do_export_privkeys: replace wallet.seed with is_watching_only Diffstat: M gui/qt/main_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1882,8 +1882,8 @@ class ElectrumWindow(QMainWindow): @protected def do_export_privkeys(self, password): - if not self.wallet.seed: - self.show_message(_("This wallet has no seed")) + if self.wallet.is_watching_only(): + self.show_message(_("This is a watching-only wallet")) return self.show_message("%s\n%s\n%s" % (_("WARNING: ALL your private keys are secret."), _("Exposing a single private key can compromise your entire wallet!"), _("In particular, DO NOT use 'redeem private key' services proposed by third parties.")))