electrum

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

commit b64fef53dcd2f91e8572f047da2ad93cd736c866
parent 5331fc1a246e6a6441e9c827d12a587e5605d7ef
Author: ThomasV <thomasv@gitorious>
Date:   Thu, 13 Nov 2014 12:36:37 +0100

change semantics of before_send hook

Diffstat:
Mgui/qt/main_window.py | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -1082,11 +1082,12 @@ class ElectrumWindow(QMainWindow): def do_send(self): + if not run_hook('before_send'): + return r = self.read_send_tab() if not r: return outputs, fee, label, coins = r - run_hook('before_send') try: tx = self.wallet.make_unsigned_transaction(outputs, fee, None, coins = coins) if not tx: