tkivy: set_label with tx message - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9510f220399655b2835a71c724337b7cd02c39a4 DIR parent c10a1672dad68d5a89569774ac4f9152e92fb8ab HTML Author: ThomasV <thomasv@electrum.org> Date: Fri, 19 Feb 2016 14:25:01 +0100 kivy: set_label with tx message Diffstat: M gui/kivy/uix/screens.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/gui/kivy/uix/screens.py b/gui/kivy/uix/screens.py t@@ -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):