change semantics of before_send hook

This commit is contained in:
ThomasV 2014-11-13 12:36:37 +01:00
parent 5331fc1a24
commit b64fef53dc
1 changed files with 2 additions and 1 deletions

View File

@ -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: