electrum

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

commit 9510f220399655b2835a71c724337b7cd02c39a4
parent c10a1672dad68d5a89569774ac4f9152e92fb8ab
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 19 Feb 2016 14:25:01 +0100

kivy: set_label with tx message

Diffstat:
Mgui/kivy/uix/screens.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py @@ -288,12 +288,13 @@ class SendScreen(CScreen): if fee >= config.get('confirm_fee', 100000): msg.append(_('Warning')+ ': ' + _("The fee for this transaction seems unusually high.")) msg.append(_("Enter your PIN code to proceed")) - self.app.protected('\n'.join(msg), self.send_tx, (tx,)) + self.app.protected('\n'.join(msg), self.send_tx, (tx, message)) - def send_tx(self, tx, password): + def send_tx(self, tx, message, password): def on_success(tx): if tx.is_complete(): self.app.broadcast(tx, self.payment_request) + self.app.wallet.set_label(tx.hash(), message) else: self.app.tx_dialog(tx) def on_failure(error):