tfix: send_tx - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 41a2fa427f5dbaaefb435353ee9c99832389bc37 DIR parent 8225028dd16676a2b9ecacc741553080f635a642 HTML Author: thomasv <thomasv@gitorious> Date: Mon, 25 Feb 2013 18:15:14 +0100 fix: send_tx Diffstat: M lib/wallet.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -706,9 +706,8 @@ class Wallet: def send_tx(self, tx): # asynchronous self.tx_event.clear() - tx_hash = Hash(tx.decode('hex') )[::-1].encode('hex') - self.interface.send([('blockchain.transaction.broadcast', [tx])], 'synchronizer') - return tx_hash + self.interface.send([('blockchain.transaction.broadcast', [str(tx)])], 'synchronizer') + return tx.hash() def receive_tx(self,tx_hash): out = self.tx_result