electrum

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

commit 4c1bc141044edfb95b9f06503b43019d5b502d95
parent b3b910d926c3ab081aa0c5ad2a090909311c631f
Author: Amir Taaki <genjix@riseup.net>
Date:   Wed, 29 Aug 2012 20:54:28 +0100

Remove assert which isn't true for the commands (only the GUI).

Diffstat:
Mlib/interface.py | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/lib/interface.py b/lib/interface.py @@ -363,9 +363,6 @@ class WalletSynchronizer(threading.Thread): if ports and version: servers.append((host, ports)) self.interface.servers = servers - # TODO: This assert fails with commands so it should be removed - # after we've ascertained it never fails when running the GUI. - assert self.servers_loaded_callback is not None # servers_loaded_callback is None for commands, but should # NEVER be None when using the GUI. if self.servers_loaded_callback is not None: