electrum

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

commit 7f7d73a4a973742de8a024996d22fad252547bb5
parent 483cf2286f03c5b11412a51c19de79e9e6ed3cc2
Author: ThomasV <thomasv@electrum.org>
Date:   Fri, 11 Sep 2015 17:38:01 +0200

helper function without decorator: sign_tx_with_password

Diffstat:
Mgui/qt/main_window.py | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -1219,10 +1219,13 @@ class ElectrumWindow(QMainWindow, PrintError): self.do_clear() else: self.broadcast_transaction(tx, tx_desc) - self.sign_tx(tx, sign_done, password) - + self.sign_tx_with_password(tx, sign_done, password) + @protected def sign_tx(self, tx, callback, password, parent=None): + self.sign_tx_with_password(tx, callback, password, parent) + + def sign_tx_with_password(self, tx, callback, password, parent=None): '''Sign the transaction in a separate thread. When done, calls the callback with a success code of True or False. '''