tabort export privkeys if wallet has no seed - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 3fc7d0ef9e34465a47017ffa1f567d829aa0f2a2 DIR parent ab3f5e85560b2096ccebfa74dba11a5a6c3c53b3 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 4 Dec 2013 18:06:07 +0100 abort export privkeys if wallet has no seed Diffstat: M gui/qt/main_window.py | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1922,6 +1922,10 @@ class ElectrumWindow(QMainWindow): @protected def do_export_privkeys(self, password): + if not self.wallet.seed: + self.show_message(_("This wallet has no seed")) + 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."))) try: