diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index c5df7ef6d..7134a4a53 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -1946,7 +1946,7 @@ class LBRYDaemon(jsonrpc.JSONRPC): pub = Publisher(self.session, self.lbry_file_manager, self.session.wallet) d.addCallback(lambda _: pub.start(name, file_path, bid, metadata)) else: - d.addErrback(lambda _: self.session.wallet.claim_name(name, bid, metadata)) + d.addCallback(lambda _: self.session.wallet.claim_name(name, bid, metadata)) d.addCallback(lambda txid: self._add_to_pending_claims(name, txid)) d.addCallback(lambda r: self._render_response(r, OK_CODE)) d.addErrback(lambda err: self._render_response(err.getTraceback(), BAD_REQUEST))