tfollow up previous commit - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 54df0b2845a37f419ea9e734b7d2fb4b1639ea99 DIR parent 96f144eb03fa9aa7debe86158d51e639d8f13cd6 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 25 Feb 2016 08:59:02 +0100 follow up previous commit Diffstat: M lib/network.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- DIR diff --git a/lib/network.py b/lib/network.py t@@ -835,10 +835,9 @@ class Network(util.DaemonThread): def broadcast(self, tx, timeout=10): tx_hash = tx.hash() try: - r = self.synchronous_get(('blockchain.transaction.broadcast', [str(tx)]), timeout) + out = self.synchronous_get(('blockchain.transaction.broadcast', [str(tx)]), timeout) except BaseException as e: return False, "error: " + str(e) - result = r.get('result') if out != tx_hash: return False, "error: " + out return True, out