fix #661
authorThomasV <thomasv@gitorious>
Thu, 17 Apr 2014 15:05:36 +0000 (17:05 +0200)
committerThomasV <thomasv@gitorious>
Thu, 17 Apr 2014 15:05:36 +0000 (17:05 +0200)
lib/wallet.py

index 95ab665..491642b 100644 (file)
@@ -1261,7 +1261,7 @@ class NewWallet:
     def send_tx(self, tx):
         # asynchronous
         self.tx_event.clear()
-        self.network.interface.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
+        self.network.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast)
         return tx.hash()
 
     def on_broadcast(self, i, r):