electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 3fc7d0ef9e34465a47017ffa1f567d829aa0f2a2
parent ab3f5e85560b2096ccebfa74dba11a5a6c3c53b3
Author: ThomasV <thomasv@gitorious>
Date:   Wed,  4 Dec 2013 18:06:07 +0100

abort export privkeys if wallet has no seed

Diffstat:
Mgui/qt/main_window.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -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: