electrum

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

commit 14da12921d3aeb3500a22692c2992ff4ca40aacd
parent 8220b0f743e52b1cdb19bc4dedc58258700eeb7c
Author: thomasv <thomasv@gitorious>
Date:   Tue, 16 Oct 2012 09:29:08 +0200

gtk: on create, use the server already picked by the interface

Diffstat:
Mlib/gui.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/gui.py b/lib/gui.py @@ -328,11 +328,11 @@ def run_network_dialog( wallet, parent ): status = "Connected to %s:%d\n%d blocks"%(interface.host, interface.port, wallet.blocks) else: status = "Not connected" - server = interface.server else: import random status = "Please choose a server." - server = random.choice( DEFAULT_SERVERS ) + + server = interface.server if not wallet.interface.servers: servers_list = []