electrum

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

commit 2ca043789837a3635a3532fc8ed9f515af049154
parent 4c2113326c6d605e52ff79ac6678c68f6fe22a64
Author: ThomasV <thomasv@electrum.org>
Date:   Tue, 25 Oct 2016 22:54:06 +0200

fix text gui. fixes #2002

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

diff --git a/gui/text.py b/gui/text.py @@ -146,7 +146,7 @@ class ElectrumGui: self.stdscr.addstr(self.maxy -1, self.maxx-30, ' '.join([_("Settings"), _("Network"), _("Quit")])) def print_receive(self): - addr = self.wallet.get_unused_address(None) + addr = self.wallet.get_unused_address() self.stdscr.addstr(2, 1, "Address: "+addr) self.print_qr(addr) @@ -156,7 +156,7 @@ class ElectrumGui: def print_addresses(self): fmt = "%-35s %-30s" - messages = map(lambda addr: fmt % (addr, self.wallet.labels.get(addr,"")), self.wallet.addresses()) + messages = map(lambda addr: fmt % (addr, self.wallet.labels.get(addr,"")), self.wallet.get_addresses()) self.print_list(messages, fmt % ("Address", "Label")) def print_edit_line(self, y, label, text, index, size):