From 23bf43f40c150025785144a8e6ac461fe5f28d02 Mon Sep 17 00:00:00 2001
From: Kay Kurokawa <kay@lbry.io>
Date: Thu, 15 Dec 2016 10:06:44 -0500
Subject: [PATCH] fixing bug where broadcast_transaction function would not
 return a deferred

---
 lbrynet/core/Wallet.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py
index 86f127f01..5008acc68 100644
--- a/lbrynet/core/Wallet.py
+++ b/lbrynet/core/Wallet.py
@@ -984,7 +984,7 @@ class LBRYumWallet(Wallet):
             d.addCallback(lambda _: claim_out)
             return d
         else:
-            return claim_out
+            return defer.succeed(claim_out)
 
     def _broadcast_transaction(self, raw_tx):
         def _log_tx(r):