Fix for plugin hook when sending tx
authorMaran <maran.hidskes@gmail.com>
Mon, 4 Mar 2013 16:11:23 +0000 (17:11 +0100)
committerMaran <maran.hidskes@gmail.com>
Mon, 4 Mar 2013 16:11:23 +0000 (17:11 +0100)
gui/gui_classic.py

index 035dd85..fe48251 100644 (file)
@@ -790,7 +790,7 @@ class ElectrumWindow(QMainWindow):
             self.show_message(str(e))
             return
 
-        self.run_hook('send_tx', (wallet, self, tx))
+        self.run_hook('send_tx', (self.wallet, self, tx))
 
         if label: 
             self.wallet.labels[tx.hash()] = label