From 432fae996a135bda5e674b704286885619ee5c67 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 13 Sep 2013 06:43:22 +0200 Subject: [PATCH] fix --- lib/wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallet.py b/lib/wallet.py index 60d38f8ea..d1c6484c9 100644 --- a/lib/wallet.py +++ b/lib/wallet.py @@ -1190,8 +1190,8 @@ class Wallet: self.network.interface.send([('blockchain.transaction.broadcast', [str(tx)])], self.on_broadcast) return tx.hash() - def on_broadcast(self, i, result): - self.tx_result = result + def on_broadcast(self, i, r): + self.tx_result = r.get('result') self.tx_event.set() def receive_tx(self,tx_hash):