electrum

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

commit 679f2fe2b1d3a4d59b89937969a7eb5e0ae6074b
parent 728dc85c84ed504582e10efe21e1d57a3ee5e149
Author: ThomasV <thomasv@gitorious>
Date:   Fri, 21 Aug 2015 07:58:50 +0200

add safety warning for watching only wallets

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

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -256,6 +256,13 @@ class ElectrumWindow(QMainWindow): self.clear_receive_tab() self.update_receive_tab() self.show() + if self.wallet.is_watching_only(): + msg = ' '.join([ + _("This wallet is watching-only."), + _("This means you will not be able to spend Bitcoins with it."), + _("Make sure you own the seed phrase or the private keys, before you request Bitcoins to be sent to this wallet.") + ]) + QMessageBox.warning(self, _('Information'), msg, _('OK')) run_hook('load_wallet', wallet, self) def import_old_contacts(self):