tdo not require name to create an account - electrum - Electrum Bitcoin wallet (HTM) git clone https://git.parazyd.org/electrum (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules --- (DIR) commit 9b28ed9ba070c1ee0c8daad21959592542e3023a (DIR) parent c5b47bd5136debbb561651148e8e76320864c79a (HTM) Author: ThomasV <thomasv@gitorious> Date: Fri, 14 Nov 2014 14:08:28 +0100 do not require name to create an account Diffstat: M gui/qt/main_window.py | 1 - M lib/wallet.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) --- (DIR) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py t@@ -1822,7 +1822,6 @@ class ElectrumWindow(QMainWindow): if not r: return name = str(e.text()) - if not name: return self.wallet.create_pending_account(name, password) self.update_address_tab() (DIR) diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1431,7 +1431,8 @@ class BIP32_HD_Wallet(BIP32_Wallet): self.next_account = self.get_next_account(password) self.storage.put('next_account', self.next_account) next_id, next_xpub, next_address = self.next_account - self.set_label(next_id, name) + if name: + self.set_label(next_id, name) self.accounts[next_id] = PendingAccount({'pending':next_address}) self.save_accounts()